Skip to main content

A tiny demo package

Project description

hello-uv-tkerby2

A tiny demo package for teaching Python packaging concepts.

Description

This package demonstrates the basics of creating a Python package with:

  • Basic functions (add_one)
  • Functions with dependencies (calculate_mean using numpy)
  • Proper project structure with tests
  • Modern packaging with uv

Installation

pip install hello-uv-tkerby2

Usage

from hello_uv_tkerby2 import add_one, calculate_mean

# Add one to a number
result = add_one(5)
print(result)  # Output: 6

# Calculate mean of a list
mean = calculate_mean([1, 2, 3, 4, 5])
print(mean)  # Output: 3.0

Features

  • Simple arithmetic operations
  • Statistical calculations using numpy
  • Well-tested with pytest
  • Type hints and documentation

Dependencies

  • Python >= 3.13
  • numpy >= 1.26.0
  • pandas >= 2.3.3

License

MIT

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

hello_uv_tkerby-0.1.0.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

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

hello_uv_tkerby-0.1.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hello_uv_tkerby-0.1.0.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.6

File hashes

Hashes for hello_uv_tkerby-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a954902cdc7ede96fb59e8ae5b0aa8e0d2fe3cd92202c0e562102a6a604f9500
MD5 497cb0fc345fbefbf396fbb6f52084a9
BLAKE2b-256 9e92265e0bdc92f7f7e10e58a00db64f473297fd6f2b39c0c9d9a0b162584cdf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hello_uv_tkerby-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8c800851e47b9832adb651138af6003af38b2e9f131e0a24ef6b184bb2fb318
MD5 306494bbf34a5bdc2245f58cd6d60ba7
BLAKE2b-256 aead89d4dbc2c5e5f01c47b318c62f8ea34285c8f531b497a0bd68d11ace1406

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