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

Download files

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

Source Distribution

demo_pip_math-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

demo_pip_math-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: demo_pip_math-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for demo_pip_math-0.1.0.tar.gz
Algorithm Hash digest
SHA256 aeae471a78e3a95b799300e0f5f56b66b15e732641db8a33fac7e2f922e97eb3
MD5 caca4893943ebe1feed2d94f32c524b4
BLAKE2b-256 879dc0628f56c624ea7708c9347ddb46c033245083c4c3aa6c456dae77e1e1f3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: demo_pip_math-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for demo_pip_math-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8d6b626c14558d708b06f60beb2d84126b9f48ad5dba593cf88185b6dc9cb47
MD5 d852be99a0fdfa5f689842f7dcf5720a
BLAKE2b-256 c72383f7b01bc5f0456bc3dd44831c50580e6ba9b02db656ec9b7b70c9d4a5b4

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.0

2 files

This release

0.1.0 This release

2 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