Skip to main content

Демо: один файл car_service + UI (catalog2, admin, ent, reg).

Project description

sterben_sharunov

Установка:

pip install sterben_sharunov

Запуск — это тот же один файл car_service_onefile.py, без дополнительных обёрток:

sterben_sharunov

или

python -m car_service_onefile

Интерфейс встроен в модуль (строки + loadUi из BytesIO), отдельные .ui в колесе не нужны.

Нужны MySQL и настройки в начале car_service_onefile.py (DB_CONFIG).

Структура каталога для сборки

В корне sterben_sharunov_pkg/ только то, что уходит в дистрибутив: car_service_onefile.py, pyproject.toml, README.md.

Публикация на PyPI (делай у себя локально)

  1. Отзови любой API-токен, который когда-либо попадал в чат/репозиторий, и создай новый на pypi.org.

  2. Собери колесо:

    cd sterben_sharunov_pkg
    python3 -m pip install --upgrade build twine
    python3 -m build
    
  3. Загрузка (токен не вставляй в команду — только в переменную окружения):

    export TWINE_USERNAME=__token__
    export TWINE_PASSWORD=pypi-...   # новый секретный токен
    python3 -m twine upload dist/*
    

Имя на PyPI: sterben_sharunov.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

sterben_sharunov-0.1.1-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file sterben_sharunov-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for sterben_sharunov-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d3df873b709a4c9dfb7c7bf67e80c4d069d6af456d4b9b8a2d79693ec94c56d
MD5 f817940a60f0e51378e27c6702137e5e
BLAKE2b-256 4518cd33e44deae841baf44643543dcbb58073a893b235e0e08010ffa888a81c

See more details on using hashes here.

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