Skip to main content

Example Package

This is a simple example package. You can use Github-flavored Markdown to write your content.

Setup

$ git clone 

To install the package locally:

$ make install

To build the wheels and source distributions files:

$ make build

To upload the builded package to PyPI:

$ make upload

In order to build and upload sequentially, you should just:

$ make pypi

Usage

from example_package_joaopcnogueira import example

example.add_one(10)

for the CLI interface, just go:

$ python -m example_package_joaopcnogueira --add-two 20

Package Structure

example_package_joaopcnogueira/

  • The package folder, within it there is the python modules.

example_package_joaopcnogueira/__init__.py

  • File that indicates that the folder example_package_joaopcnogueira is a package

example_package_joaopcnogueira/example.py

  • Python module

pyproject.toml

  • File that contains metadata information about the package and how to build it. It's the current recommendation instead of setup.py

README.md

  • This actual file, where we put information about the package to be read by humans.

.gitignore

  • Git special file which indicates what files and folders should not be tracked by git.

Makefile

  • A configuration file which handles command line utilities on how to install, build and upload the project to PyPI.

notebooks/

  • Folder where notebooks files exists.

tests/

  • Folder where the tests code exists.

References

Packaging Python Projects from PyPA - Python Project Authority

Metadata

Release files for example-package-joaopcnogueira 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 example-package-joaopcnogueira 0.1.4
File Size Uploaded
example_package_joaopcnogueira-0.1.4.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for example-package-joaopcnogueira 0.1.4
File Interpreter ABI Platform
example_package_joaopcnogueira-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / example_package_joaopcnogueira-0.1.4.tar.gz

Download URL example_package_joaopcnogueira-0.1.4.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a8add9f9464c578f7df9672a683a7ae3f7e223f8d0e06b65a733fa7a2687059b
BLAKE2b-256 checksum
How to use checksums
31a829e8b73de13305e4ce45ef2affd619548441a4632cc19a8303bd15fb0291
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

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

Download URL example_package_joaopcnogueira-0.1.4-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e15088f581cad6f1e52ca10d0907b390e23bed0f593d341d6a5a3735822a0d1a
BLAKE2b-256 checksum
How to use checksums
e06810dcf15f7f05e68938d1c2c8c3f3758fc5a30380503935f64dc86f933521
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

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