No project description provided
Project description
Poetry tutorial 101
Description
Its a very simple repository to learn how to use poetry, try to call an api for phone number validation uses poetry to manage the dependencies, test, build and deploy on pypi the final package
Tutorial source
The tutorial is from freecodecamp that company has a [https://www.youtube.com/freecodecamp](youtube channel) and the oficial documentation of Poetry could be found here.
general commands
poetry config pypi-token.pypi pypi-AgEIcHlwaS5vcmcCJDQxMDMxNTRhLTNmYjItNDI3MC1iODg2LWIwNDkwOGU3ZmRjZQACKlszLCJhNWM0ODk1My1iNzQyLTQ4YmItOTg4MC01YTE4ZGY3M2QzYzYiXQAABiA8OuLfFXHkfACl7Erbf1E0lvcUlv-aPD4s4-vQR899pg
poetry --version
export PATH="/Users/nuvemshop/.local/bin:$PATH"
poetry env use /usr/local/bin/python3.11
poetry env info
poetry env info --path
poetry env info --executable poetry env list --full-path
--exportar para requirements.txt poetry export --output requirements.txt
poetry run which python poetry shell
poetry run python your_script.py
run the tests
poetry run pytest -v
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
File details
Details for the file phone_number_validator_dirso-0.1.0.tar.gz
.
File metadata
- Download URL: phone_number_validator_dirso-0.1.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.14 Darwin/21.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9f970aff9d5749952af2b49325e4bf7de4dfd45af9a586e5253d08764465ebd |
|
MD5 | 5c6a3bb6c93b675ca31cb69106dfd6a7 |
|
BLAKE2b-256 | 60fbd1fa45b877a0873be8fba369e1d774cf1ed973d8ffa9ef442ae9f0fb5db5 |
File details
Details for the file phone_number_validator_dirso-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: phone_number_validator_dirso-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.14 Darwin/21.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28f291ebd6ecad75c235e947edb13120d5b22785dcf7a9727b34a29abecc258a |
|
MD5 | aaa1ce4014ec85906fb21d28d4149871 |
|
BLAKE2b-256 | 300e16d4e25685246eb2c9a91db22d9a01c63031ebe59a114ec57f705c1ea12e |