Skip to main content

package_publishing_example

PyPI version

This repository contains an example python codebase with accompanying CLI to demonstrate how to set up and publish such a project with modern1 tools.

The contents of this repository themselves are published as a python package that can be imported in python, but also contains a CLI wrapper.

Installing the package

pip install package_publishing_example 

Testing it out

>>> from python_packaging_example import revcomp
>>> revcomp('ACGTA')
'TACGT'
$ ppe revcomp ACGTA
TACGT

This codebase uses the following tools:

The assignments consist of following the steps that were followed to end up with this repository repository structure, e.g. downloading and initializing the tools. Assignment 1 focuses on python package management and publishing with uv, assignment 2 deals with publishing to conda, assignment 3 contains miscellaneous tips in tricks for working with github and linking/synchronizing packages.

  1. 'Modern' at the time of writing (19.03.2025) ↩

Metadata

Release files for package-publishing-example 0.0.4

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

Source distribution (sdist)

Source distribution for package-publishing-example 0.0.4
File Size Uploaded
package_publishing_example-0.0.4.tar.gz 24.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for package-publishing-example 0.0.4
File Interpreter ABI Platform
package_publishing_example-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 28.4 kB

Release files / package_publishing_example-0.0.4.tar.gz

Download URL package_publishing_example-0.0.4.tar.gz
Size 24.1 kB
Tags Source
SHA-256 checksum
How to use checksums
dd5ffdb8db6e6f2ba05546f230abc53ee897497d4eb81a1808fbe6290a07bf6f
BLAKE2b-256 checksum
How to use checksums
2a16f382c14a9bdfa854aa8a7d2c089a0fe370a5f0b8e3371cbc552441c2f856
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.2

Release files / package_publishing_example-0.0.4-py3-none-any.whl

Download URL package_publishing_example-0.0.4-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a5818c35288ca21c8b9b4aa2894948864f52a424f8e68abf18360284d64d313a
BLAKE2b-256 checksum
How to use checksums
00c021868d7ffb6ab416c6102a0edf0749fe67e18f0a0b0c20a39ad3cdb77235
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.2

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.1

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