Skip to main content

Generate blog posts for competitive programming solutions

Project description

cpscribe

Generate structured blog posts for Codeforces solutions.

Install

pipx install cpscribe

Setup

cpscribe init

This creates ~/.config/cpscribe/config with your blog root and author name. You can also set CPSCRIBE_BLOG_ROOT and CPSCRIBE_AUTHOR as environment variables.

Usage

# from a URL
cpscribe post https://codeforces.com/contest/1903/problem/B

# from a .cpp file with a URL in a comment
cpscribe post B.cpp

# with an explicit solution file
cpscribe post https://codeforces.com/contest/1903/problem/B B.cpp

The generated post includes the full problem statement, sample I/O, and structured sections for your approach, complexity, solution, and takeaways.

Update

pipx upgrade cpscribe

License

MIT

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

cpscribe-0.1.3.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cpscribe-0.1.3-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file cpscribe-0.1.3.tar.gz.

File metadata

  • Download URL: cpscribe-0.1.3.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cpscribe-0.1.3.tar.gz
Algorithm Hash digest
SHA256 1659c15f08175eab140f6ee98a45ffeb3cd0c8ba245b3253312566863ba6100d
MD5 4295da496b72ad3e4179fbab20184599
BLAKE2b-256 a248e6bc564e1484de0438bb3e77df98a8a9645b9b9c6f5d18cf2ff6ffbe9b31

See more details on using hashes here.

Provenance

The following attestation bundles were made for cpscribe-0.1.3.tar.gz:

Publisher: release.yml on shravanngoswamii/cpscribe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cpscribe-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: cpscribe-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cpscribe-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 66af8bb3a30f5ca323fee4d5e7107a95eae5dbc55b3e18c7efbce2c626a54b35
MD5 77c75e57f2b98a31ee40885bc36f039d
BLAKE2b-256 53b7ffe92733c0eece4539de5de9d175b9901f1ba79efcfdff31301bc1ba1da2

See more details on using hashes here.

Provenance

The following attestation bundles were made for cpscribe-0.1.3-py3-none-any.whl:

Publisher: release.yml on shravanngoswamii/cpscribe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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