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.4.tar.gz (10.5 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.4-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cpscribe-0.1.4.tar.gz
  • Upload date:
  • Size: 10.5 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.4.tar.gz
Algorithm Hash digest
SHA256 a16909838894128cb394b4443c8c0a50ccd786cce16a121ad80984f7a887ec9d
MD5 0adb048d1483b39deab4a206841a5149
BLAKE2b-256 c296062c3d720c8f2e55c308a9aaeab5a358c662d5be85f74c2ef368d3c5e796

See more details on using hashes here.

Provenance

The following attestation bundles were made for cpscribe-0.1.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: cpscribe-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 8.1 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 af20863bd9da5fd64f8c83020871b26a57e9f53dfb758b05a15044afee9f2449
MD5 1b1d55d30cbbc89cdae07fd0722abd19
BLAKE2b-256 b30abfefd05c8c11423aae9a07babe619982f3fe8a67d6a260599ebfafb4a250

See more details on using hashes here.

Provenance

The following attestation bundles were made for cpscribe-0.1.4-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