Базовый код для разработки своего SDK + CLI
apps -- Хранилище классов, в котором лежит код с основной логикой
cli -- Логика обработки CLI команд
core -- Настройки, подключения и все остальное общее
packages -- Тут я храню объекты для собственной реализации каких-то протоколов, удобных декораторов
services -- Классы для работы с какими-то внешними сервисами. Тут возможно нужна пагинация, хитрая авторизация и тому подобное
main -- Тут выполняется код, когда приложение вызывается как cli
init -- Тут хранится список объектов, которые доступны для импорта из корня from basic_sdk import some и бывает иногда здесь нужно импортировать что-то, чтобы объекты определились при старте
Для пуша в pypi нужно прописать POETRY_PYPI_TOKEN_PYPI в .env и выполнить make push
Что будет:
- Пройдут тесты
- Сделается
poetry lock - И пройдет линтеры
Metadata
Release files for example_sdk 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| example_sdk-0.0.2.tar.gz | 3.0 kB | Without provenance | Details for example_sdk-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| example_sdk-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for example_sdk-0.0.2-py3-none-any.whl |
Total release size: 7.7 kB
Release files / example_sdk-0.0.2.tar.gz
| Download URL | example_sdk-0.0.2.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ccd3e5286447e00c46b7b7eb93c989422a93685e5ef4b52cb36bf6152760137
|
|
BLAKE2b-256 checksum How to use checksums |
b30808a355bee713a939b6949f0e15cc23dacbdaa4eaf8379c736993d0f8663a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.0 Darwin/23.1.0
|
Release files / example_sdk-0.0.2-py3-none-any.whl
| Download URL | example_sdk-0.0.2-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3251d471d1f85056f89207d63385ba20dc671c8dcdc9b3031e4a2048d50c623
|
|
BLAKE2b-256 checksum How to use checksums |
b29e9f60b0933afdb36fa0ecf099963ba07ec0955b14e7b399a7c113e4f61005
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.0 Darwin/23.1.0
|
Security for example_sdk 0.0.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.