Command-line exam ticket helper
Project description
ISTCode
Command-line helper for exam tickets.
Русская инструкция:
USER_GUIDE_RU.md
Install for development
python -m venv .venv
.venv\Scripts\Activate.ps1
python -m pip install -e ".[dev]"
Install from GitHub
Install on any computer:
python -m pip install --upgrade --force-reinstall --no-cache-dir https://github.com/Pyshok342/ISTCode/archive/refs/heads/main.zip
After publishing to PyPI:
python -m pip install --upgrade --force-reinstall --no-cache-dir istcode
Use
Show ticket by number:
ist-ticket 1
The command first reads ticket text from Word:
src/my_python_library/assets/files/ticket_01/ticket.docx
If ticket.docx is missing, it reads the fallback file:
src/my_python_library/assets/files/ticket_01/ticket.md
Tables from ticket.docx are printed as console-friendly ASCII tables.
Show available tickets:
ist-ticket list
Show help:
ist-ticket help
Show folder and names for attached files/photos/presentations:
ist-ticket files 6
Open all files from the ticket folder:
ist-ticket open 6
Search across ticket files:
ist-ticket search "метрики регрессии"
ist-ticket search sklearn metrics
ist-ticket search "метрики регрессии" --show
Ticket folders live in:
src/my_python_library/assets/files/ticket_01
src/my_python_library/assets/files/ticket_02
...
src/my_python_library/assets/files/ticket_20
Each folder can contain ticket.docx. This is the preferred editable Word file shown by ist-ticket N.
If there is no ticket.docx, ticket.md is used as fallback.
Alternative launch:
python -m my_python_library 1
Python import:
from my_python_library import format_ticket
print(format_ticket(1))
Test
python -m pytest
Build
python -m build
Publish New Version
publish_new_version.bat
The helper automatically bumps the last number in pyproject.toml before it builds and pushes the release.
Publish
First publish to TestPyPI:
python -m twine upload --repository testpypi dist/*
Then publish to PyPI:
python -m twine upload dist/*
Project details
Release history Release notifications | RSS feed
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 istcode-2.11.tar.gz.
File metadata
- Download URL: istcode-2.11.tar.gz
- Upload date:
- Size: 868.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
495b3cef17ddf4166a9d83caae2bc4e70661951bb74f5d415fd9db5ef2752479
|
|
| MD5 |
4f58d8ef67199593f4bf5de699d34a6f
|
|
| BLAKE2b-256 |
dd889511275176937b69b0eb7eae351aebf7214293cbc17c635513be86974746
|
Provenance
The following attestation bundles were made for istcode-2.11.tar.gz:
Publisher:
publish.yml on Pyshok342/ISTCode
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
istcode-2.11.tar.gz -
Subject digest:
495b3cef17ddf4166a9d83caae2bc4e70661951bb74f5d415fd9db5ef2752479 - Sigstore transparency entry: 1639677937
- Sigstore integration time:
-
Permalink:
Pyshok342/ISTCode@6bfabd3f0b6b38d6da6c3ffc6fe21f1f9f332ec0 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Pyshok342
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6bfabd3f0b6b38d6da6c3ffc6fe21f1f9f332ec0 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file istcode-2.11-py3-none-any.whl.
File metadata
- Download URL: istcode-2.11-py3-none-any.whl
- Upload date:
- Size: 875.2 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 |
7cecb5bc0ba98f5b425a8047fac81722ea49042337dd48a57fba290d58cf59f4
|
|
| MD5 |
af14a28304a7eda18e8fd3be523242d9
|
|
| BLAKE2b-256 |
b8a376b2be95f65953c9168bee4a699d6e647ca491107f441ce312ee23140006
|
Provenance
The following attestation bundles were made for istcode-2.11-py3-none-any.whl:
Publisher:
publish.yml on Pyshok342/ISTCode
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
istcode-2.11-py3-none-any.whl -
Subject digest:
7cecb5bc0ba98f5b425a8047fac81722ea49042337dd48a57fba290d58cf59f4 - Sigstore transparency entry: 1639678080
- Sigstore integration time:
-
Permalink:
Pyshok342/ISTCode@6bfabd3f0b6b38d6da6c3ffc6fe21f1f9f332ec0 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Pyshok342
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6bfabd3f0b6b38d6da6c3ffc6fe21f1f9f332ec0 -
Trigger Event:
workflow_dispatch
-
Statement type: