Skip to main content

ISTCode

Command-line helper for exam tickets.

Python support: 3.8 or newer.

Русская инструкция:

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

Offline install archive

Build a flash-drive archive with ISTCode and dependency wheels:

make_offline_bundle.bat

The archive is created in dist. Copy it to another Windows x64 computer, unzip it, then run:

install_offline.bat

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/*

Metadata

Release files for istcode 2.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for istcode 2.14
File Size Uploaded Provenance Actions
istcode-2.14.tar.gz 9.4 MB With provenance Details for istcode-2.14.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for istcode 2.14
File Interpreter ABI Platform Actions
istcode-2.14-py3-none-any.whl Python 3 none any Details for istcode-2.14-py3-none-any.whl

Total release size: 18.7 MB

Release files / istcode-2.14.tar.gz

Download URL istcode-2.14.tar.gz
Size 9.4 MB
Tags Source
SHA-256 checksum
How to use checksums
48384f2346f93cdc9bea56a2334d3aa111de5cc93bee43801aacb94996c928b2
BLAKE2b-256 checksum
How to use checksums
6f45f0d1a52843b3bc861d71e86106b5aa25dd2300c007eb03dcb73934bcf1bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 28, 2026.

Transparency log

Release files / istcode-2.14-py3-none-any.whl

Download URL istcode-2.14-py3-none-any.whl
Size 9.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8b0f80ad5933dea90c3418fa8b28c80e5711ec41575901f2e57687b0e56b15ad
BLAKE2b-256 checksum
How to use checksums
1a2e975e65fa6370f19c5e8c0f8a502a11f259490c166568c77cf4f661275c87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 28, 2026.

Transparency log

Security for istcode 2.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for istcode-2.14.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page