Skip to main content

moduleai-test

A complete example Python package with text utilities and a CLI.

Install locally

From this directory:

python -m pip install .

Use in Python

from moduleai_test import slugify, word_count, reverse_text

print(slugify("Hello, World!"))  # hello-world
print(word_count("hello world"))  # 2
print(reverse_text("hello"))  # olleh

CLI

moduleai-test slugify "Hello World"
moduleai-test count "one two three"
moduleai-test reverse "hello"

Test

python -m pip install pytest
python -m pytest

Build distribution files

python -m pip install build
python -m build

Publish (optional)

Choose a unique name on PyPI, replace the placeholder author, then:

python -m pip install twine
python -m twine upload dist/*

The name moduleai-test is an example and may already be taken on PyPI.

Get the library version with moduleai-test version or moduleai_test.version_library().

Metadata

Release files for moduleai-test 0.1.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 moduleai-test 0.1.4
File Size Uploaded Provenance
moduleai_test-0.1.4.tar.gz 3.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for moduleai-test 0.1.4
File Interpreter ABI Platform
moduleai_test-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 7.6 kB

Release files / moduleai_test-0.1.4.tar.gz

Download URL moduleai_test-0.1.4.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cbef6cb9f5eb7e7cafddeddc23471ad2a2d5e208ef5150512b3497870a175627
BLAKE2b-256 checksum
How to use checksums
08f5d4cabfc7b8c6225cea74945a04fa066b967c106ce10a661e5db879f49cbf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.2

Release files / moduleai_test-0.1.4-py3-none-any.whl

Download URL moduleai_test-0.1.4-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e402e401435700da48dc2b25ddd101c020227974e105fbb072692ec17f4cd29
BLAKE2b-256 checksum
How to use checksums
dcbd29e0b08b544ce43b2e4c19a2359401c91900b26324ad1f1883e399617c6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.2

Security for moduleai-test 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files No provenance

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