DEV Community

Cover image for My First Python Package, an Auto Generator for Solved Problems in Codeforces
5hfT
5hfT

Posted on

1

My First Python Package, an Auto Generator for Solved Problems in Codeforces

I have made an python package named cp-tool and published in https://pypi.org

cp-tool is an auto generator for solved problems at different online judges. It gathers all the problems you have solved at an online judge and generates a git repository for you.

Generated Sample Git Rep by cp-tool

Supported Platforms

Requirments

  • python >=3.6

Instruction

  • Installation

    • Linux :
pip install cp-tool
  • Windows :
python -m pip install cp-tool

Note : Please updated version

  • Upgrade :

    • Linux :

pip install --upgrade cp-tool

  • Windows :

python -m pip install --upgrade cp-tool

  • Usage

    • Using command cp-tool it will show the usages

    • Init with git repo :
    • Create a git repository first
    • Then init
    cp-tool -c init -j codeforces
    

    You will be asked for

    • handle

      • example : shifat57
    • repository name (A folder will be created based in repo name)

      • example : My Cp Track
    • repository url

      • example : https://github.com/jspw/cp-tool-sample

    • Update submissions :
    • Go to the repository folder in your local file
    • Then

    cp-tool -c update -j codeforces

License

MIT

Check Source Code
Sample Repo generated by cp-tool

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay