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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cpscribe-0.1.0.tar.gz.
File metadata
- Download URL: cpscribe-0.1.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a578275685fb2ad29302560755707b86e724c1ca2edfac01909180b2f9cf3526
|
|
| MD5 |
d7557a2975599902a5b85ec00d9900cf
|
|
| BLAKE2b-256 |
55c48e21e084d737beae2a21aaaf1869f3f77c5ee7fea1423715bc4ef80f3af3
|
Provenance
The following attestation bundles were made for cpscribe-0.1.0.tar.gz:
Publisher:
release.yml on shravanngoswamii/cpscribe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cpscribe-0.1.0.tar.gz -
Subject digest:
a578275685fb2ad29302560755707b86e724c1ca2edfac01909180b2f9cf3526 - Sigstore transparency entry: 1956622432
- Sigstore integration time:
-
Permalink:
shravanngoswamii/cpscribe@4ebb6eb040fbde292985d4d100867dc219c6eed8 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/shravanngoswamii
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4ebb6eb040fbde292985d4d100867dc219c6eed8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cpscribe-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cpscribe-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fabdcacfb87185154b9caf45f7b85c18cfd4279f88264420153417c9b99e2ce
|
|
| MD5 |
fd2e95e70fe1cb1cedeec4f79fa5b947
|
|
| BLAKE2b-256 |
7ab27e1d614a1e7854cd7a8fd3df8bf7dbd122fb288a782ac9eb55b486de9757
|
Provenance
The following attestation bundles were made for cpscribe-0.1.0-py3-none-any.whl:
Publisher:
release.yml on shravanngoswamii/cpscribe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cpscribe-0.1.0-py3-none-any.whl -
Subject digest:
2fabdcacfb87185154b9caf45f7b85c18cfd4279f88264420153417c9b99e2ce - Sigstore transparency entry: 1956622530
- Sigstore integration time:
-
Permalink:
shravanngoswamii/cpscribe@4ebb6eb040fbde292985d4d100867dc219c6eed8 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/shravanngoswamii
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4ebb6eb040fbde292985d4d100867dc219c6eed8 -
Trigger Event:
push
-
Statement type: