Skip to main content

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 reads ticket text from:

src/my_python_library/assets/files/ticket_01/ticket.md

Edit this file to change ticket questions or answers.

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

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 contains ticket.md. This is the editable text shown by ist-ticket N.

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

Publish

First publish to TestPyPI:

python -m twine upload --repository testpypi dist/*

Then publish to PyPI:

python -m twine upload dist/*

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

istcode-0.2.6.tar.gz (140.5 kB view details)

Uploaded Source

Built Distribution

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

istcode-0.2.6-py3-none-any.whl (151.3 kB view details)

Uploaded Python 3

File details

Details for the file istcode-0.2.6.tar.gz.

File metadata

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

File hashes

Hashes for istcode-0.2.6.tar.gz
Algorithm Hash digest
SHA256 d0a2cd9c5fde46d725cb49af117a472dcec87eda934950307e57f5f8e17139f3
MD5 9466fa81430c71e95afc35e9233f8c50
BLAKE2b-256 118190181aefa874744a202833c83618cf35f137533f3cbdcd090a2fdca7cd08

See more details on using hashes here.

Provenance

The following attestation bundles were made for istcode-0.2.6.tar.gz:

Publisher: publish.yml on Pyshok342/ISTCode

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

File details

Details for the file istcode-0.2.6-py3-none-any.whl.

File metadata

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

File hashes

Hashes for istcode-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ea133c3cbba0a2424b42f832715eab75859a526b1ee111a3c0200fa46ed7005e
MD5 b6165bcab5453895dd97bb6629a140df
BLAKE2b-256 04051f6cb505687c0183bdba019b957b5f7d9e27e5d6b5835010997a9b763f48

See more details on using hashes here.

Provenance

The following attestation bundles were made for istcode-0.2.6-py3-none-any.whl:

Publisher: publish.yml on Pyshok342/ISTCode

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