Skip to main content

A small example package

Project description

Developing Python Packages

Project Description

this project is a template or a guide to help you develop your own python package.

Project Structure

.
├── python-package
│   ├── pythonPackage
│   │   ├── __init__.py
│   │   ├── subpackage
│   │   │   ├── __init__.py
│   │   │   └── module.py
│   ├── setup.py
│   ├── README.md
│   ├── HISTORY.md
│   ├── LICENSE
│   ├── requirements.txt
│   ├── MANIFEST.in
│   ├── tox.ini
│   └── tests
│       ├── __init__.py
│       ├── pytest.ini
│       ├── config.py
│       └── test_sub_package
│           ├── __init__.py
│           └── test_module.py

Installation

pip install -e .

How to build distribution package

python setup.py sdist bdist_wheel

sdidt: source distribution

bdist_wheel: wheel distribution

Upload package to PyPi

twine upload dist/*

Upload package to TestPyPi

twine upload -r testpypi dist/*

History

0.3.0

Added

  • What you added to this version.

Changed

  • What you changed in this version.

0.2.0

Deprecated

  • What deprecated in this version.

Fixed

  • what fixed in this version.

0.1.0

Added

  • What you added to this version.

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

aymanpackage-0.1.0.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

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

AymanPackage-0.1.0-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aymanpackage-0.1.0.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for aymanpackage-0.1.0.tar.gz
Algorithm Hash digest
SHA256 23b0dc67fe702556faa3130eb9bbc5b9454f92c62cba4dc80e23702a3e3426ef
MD5 ec98cd64d71eb3759d8c16efdb7c1871
BLAKE2b-256 fbeb72171987389feaceff11eee4abca2e98475627c0f30833a1372f183e950e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: AymanPackage-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for AymanPackage-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca9b328c80fc9835db590a23076e29d7eda74776d71836b7fe412e3a2de9cb83
MD5 8d35595f0da7bc98e34de3a3d91be7cc
BLAKE2b-256 e4f9cfbc2e4b89f0a8c185a178595ddaa3d268b270e384abcd020818471aa665

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