Skip to main content

No project description provided

Project description

Dependency Management

I am using Poetry a modern Python dependency management tool.

Commands for developing this project:

# Create a python project with poetry-managed dependencies
poetry new python-projectX

# Create virsual environment for this project
poetry shell
poetry env list
poetry env use python3

# Add new dependency
poetry add requests
# Add dependencies grouped by environments
poetry add --group dev pytest
# OR:
poetry add pytest --dev

# Update poetry itself
poetry self update
# Upgrade dependencies
poetry update requests
poetry update 

# Check dependencies
poetry show numpy

# Resolve dependencies and create lock file
poetry install

# Apply poetry to existing non-poetry project
poetry init
poetry env use python3
poetry env list

Commands for build and publish this project

poetry build

poetry config pypi-token.pypi <pypi-token>

poetry publish
poetry publish --repository <other-than-pypi>

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

cuizhanming_python_project1-0.1.0.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

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

cuizhanming_python_project1-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file cuizhanming_python_project1-0.1.0.tar.gz.

File metadata

  • Download URL: cuizhanming_python_project1-0.1.0.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/23.6.0

File hashes

Hashes for cuizhanming_python_project1-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6e844171139c9e88cf38d712ec7936f234fb3f9553e5278b62741a82ab12f8ef
MD5 81463de6c8207ed5682590375d56d059
BLAKE2b-256 fc7c14ea38ca017a11b5de6efa7c6545b972b9c98f08e343d3c01f48fb6b4172

See more details on using hashes here.

File details

Details for the file cuizhanming_python_project1-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cuizhanming_python_project1-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 07112075b0229b8580ecb0c55f3e294486e5c8a698e64f697e36c96bfce3d190
MD5 3c12bd67c28c56d0037c3731e4a078eb
BLAKE2b-256 94ac18198ea0e2b09fa1eb3763f3da45c143e61bf0cfa6fd664215cbdb99e81a

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