Skip to main content

Your first Pip package in Python

This repository is the companion post to my blog "Your first Pip package in Python"

Usage

from demo_pip_math.math import add, subtract, multiply


def test_add():
    assert add(3, 2) == 5


def test_subtract():
    assert subtract(3, 2) == 1


def test_multiply():
    assert multiply(3, 2) == 6

Release files for demo-pip-math 0.2.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 demo-pip-math 0.2.0
File Size Uploaded
demo_pip_math-0.2.0.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for demo-pip-math 0.2.0
File Interpreter ABI Platform
demo_pip_math-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.1 kB

Release files / demo_pip_math-0.2.0.tar.gz

Download URL demo_pip_math-0.2.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f298ea040470ebc44eaecc85f7bdfbcf567fbaa6d636090d941a0901798c01b4
BLAKE2b-256 checksum
How to use checksums
314332b2886e9e3a5948ec9660d5c0d7227271751e05c337f553a79dcd1d6244
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

Release files / demo_pip_math-0.2.0-py3-none-any.whl

Download URL demo_pip_math-0.2.0-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e2c42ca8fbe8211b02ab53efcb590844d1e7a1bbac7f823a7d7c829fa1afe05
BLAKE2b-256 checksum
How to use checksums
21a1554a2b0f9f0893d03cc2a8d159ddd5a8290143bbb5431312c5256183009d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

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