Skip to main content

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.

Metadata

Release files for AymanPackage 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for AymanPackage 0.1.0
File Size Uploaded
aymanpackage-0.1.0.tar.gz 1.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for AymanPackage 0.1.0
File Interpreter ABI Platform
AymanPackage-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 3.7 kB

Release files / aymanpackage-0.1.0.tar.gz

Download URL aymanpackage-0.1.0.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
23b0dc67fe702556faa3130eb9bbc5b9454f92c62cba4dc80e23702a3e3426ef
BLAKE2b-256 checksum
How to use checksums
fbeb72171987389feaceff11eee4abca2e98475627c0f30833a1372f183e950e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / AymanPackage-0.1.0-py3-none-any.whl

Download URL AymanPackage-0.1.0-py3-none-any.whl
Size 1.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ca9b328c80fc9835db590a23076e29d7eda74776d71836b7fe412e3a2de9cb83
BLAKE2b-256 checksum
How to use checksums
e4f9cfbc2e4b89f0a8c185a178595ddaa3d268b270e384abcd020818471aa665
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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