Skip to main content

Tools to work with multiple problem formats: DSA, Hackerrank, CMS, repl...

Project description

Problem Toolbox

Tools to work with multiple problem formats: DSA, Hackerrank, CMS, repl...

Description

Main functions

DSA problem tools

Hackerrank problem tools

Installation

Normal installation

pip install ptoolbox

Development installation

git clone https://gitlab.com/thucnguyen/ptoolbox.git
cd ptoolbox
pip install --editable .

Usage

DSA problem tools

ptoolbox dsa --help

Hackerrank problem tools

ptoolbox hackerrank --help

Change log

[0.4.1] - 2020-01-29

Added

  • Added img support for codeforces
  • Fix bugs

[0.4.0] - 2020-01-29

Added

  • Add ptoolbox kt get command to get problem from kattis.com

[0.3.2] - 2020-01-12

Added

  • Add _editorial.md file for editorial
  • Add statement.vi.md file for translation

Fixed

  • Fix newline in cf sample test

[0.3.1] - 2019-11-20

Added

  • Add statement.md.en file for translation

Fixed

  • Add jinja2 to requirements

[0.3] - 2019-11-20

Added

  • Add codeforces command: get codeforces problem and save to a local folder

[0.2.7] - 2019-09-18

Fixed

  • Add template files to package

[0.2.6] - 2019-09-08

Fixed

  • Fixed wrong tab in problem format: using jinja2 as template

[0.2.5] - 2019-08-04

Fixed

  • Fixed bug empty test case

[0.2.2] - 2019-07-18

Improved

  • Handle the case that problem file has different name to the containing folder

[0.2.1] - 2019-07-18

Added

  • Add detect source link in problem statement

[0.2.0] - 2019-07-11

Added

  • Add hackerrank CLI tools

[0.1.8] - 2019-07-10

Added

  • Add Difficulty to problem statement

[0.1.6] - 2019-07-10

Added

  • Auto fix problem statement format:
ptoolbox dsa check-problem {problem-folder} --autofix

[0.1.5] - 2019-07-09

Added

  • Check problem folder for proper format:
ptoolbox dsa check-problem {problem-folder}

[0.1.4] - 2019-07-08

Updated

  • Update template: add tags, problem title

[0.1.3] - 2019-07-03

Updated

  • Update template with Latex sample

[0.1.2] - 2019-07-02

Updated

  • Update template for testcase generator

[0.1.0] - 2019-07-01

Added

  • Create problem template
  • Prepare Hackerrank testcases (.zip) format

[0.0.1] - 2019-07-01

Added

  • Init project
  • Setup CLI with click

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ptoolbox-0.4.1.tar.gz (25.3 kB view details)

Uploaded Source

Built Distribution

ptoolbox-0.4.1-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

Details for the file ptoolbox-0.4.1.tar.gz.

File metadata

  • Download URL: ptoolbox-0.4.1.tar.gz
  • Upload date:
  • Size: 25.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for ptoolbox-0.4.1.tar.gz
Algorithm Hash digest
SHA256 19c719cce8466db368a2bb3fa0588853a6cafc12890e613febee8f85e0aa8f40
MD5 3df93899e0459b4c2841d22d2fc8c89d
BLAKE2b-256 9aa8b9d59f439c17c4c3a0183be66509f00d60ca0eae02fe69bad46e9d1b57d8

See more details on using hashes here.

File details

Details for the file ptoolbox-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: ptoolbox-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 32.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for ptoolbox-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fe21bde924f050bc588d9a2626176550146e46cc7520eb8c563166bf81ae7e77
MD5 6822fcffc7600e1373a37435c32e3bfd
BLAKE2b-256 36f5ad2ef46a489c99a36699a7f4679039b2ce4ddfd36fed0261338bb6456f72

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page