Pacote FullTrader para disponibilizar dados (inicialmente Hello World) com estrutura pronta para evoluir.
Project description
fulltrader
Pacote Python para disponibilizar dados da FullTrader. Nesta primeira versão, entregamos um "Hello World" com uma estrutura robusta, pronta para evoluir para consultas a banco de dados e APIs internas.
Instalação (após publicar no PyPI)
pip install fulltrader
Uso (API)
from fulltrader import hello
print(hello()) # "Hello, FullTrader!"
print(hello("Você")) # "Hello, Você!"
Uso (CLI)
fulltrader --name "FullTrader"
Desenvolvimento
Requisitos: Python 3.9+
# Instalar dependências de desenvolvimento
python -m pip install -U pip
python -m pip install -e .[dev]
# Testes
pytest
# Lint (opcional)
ruff check
# Build do pacote
python -m build
Publicação
- TestPyPI (recomendado primeiro):
python -m twine upload --repository testpypi dist/*
- PyPI oficial:
python -m twine upload dist/*
Certifique-se de ter configurado ~/.pypirc com suas credenciais.
Estrutura
src/fulltrader/código fonte (layout src)use_cases/casos de uso (ex.:hello)core/shared/utilitários e contratos compartilhadosinfra/camadas de integração (DB, APIs) – a serem implementadascli.pyponto de entrada da linha de comando
tests/testes unitários
Licença: MIT
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 fulltrader-0.1.0.tar.gz.
File metadata
- Download URL: fulltrader-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c66b473ec8b3d36194e9b97d5d66a11de745cdde2108b4c611b11f2a4963fc6e
|
|
| MD5 |
1616955955c358b98eac865c881ef410
|
|
| BLAKE2b-256 |
d1fd23292d3fdfaeecde130b4395b7a9b8e7a22167eaac333d3e130d68140a94
|
File details
Details for the file fulltrader-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fulltrader-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f769a8b724662dd8ca3d775d583db5f64cb582d31dd80183fc60cccee899aa22
|
|
| MD5 |
e446364b98495af002e1f023a4aab3be
|
|
| BLAKE2b-256 |
bb245c894e04d76b94444043839d6f4b0b9b9214639485a4e666d58d18496fcc
|