Skip to main content

Python library quick start

This is a minimal template for uploading your python packages to pypi.org.

To Use

  • First clone this project.
# Clone this repository
git clone https://github.com/defartsa23/python-library-quick-start.git
# Go into the repository
cd python-library-quick-start
  • Rename the folder your-package to the package name you want. then place all your files into a folder. Open the __init__.py file with a text editor of your choice. In this file, you write nothing but the import statement which has the following schema:
from .Filename import Classname
  • Replace the information in the setup.py file with the matching content.
  • Upload your package to PyPi
python setup.py sdist
twine upload dist/*

Download files

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

Source Distribution

chervantez-1.1.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file chervantez-1.1.tar.gz.

File metadata

  • Download URL: chervantez-1.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for chervantez-1.1.tar.gz
Algorithm Hash digest
SHA256 09ef3fb2882f86ddbcd0436d0957c4d967cde73b2eb8825769a8a55181ee79b4
MD5 ec77b2429d44e39c9ed71bfaf30fb01a
BLAKE2b-256 4111b6dd0d185dc3e231557d2a43b088baeb657008af7b788a7d7aa063b6658c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page