Skip to main content

A small example package

Project description

demo-pip-sample

# Upload

python3 setup.py sdist bdist_wheel
python3 -m twine upload dist/*
    Output
    Enter your username: rich_python
    Enter your password: 
    Uploading example1_pkg_rich-0.0.1-py3-none-any.whl
    100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████| 17.2k/17.2k [00:01<00:00, 9.20kB/s]
    Uploading example1-pkg-rich-0.0.1.tar.gz
    100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4.76k/4.76k [00:00<00:00, 5.82kB/s]

    View at:
    https://pypi.org/project/example1-pkg-rich/0.0.1/

install

pip3 install example1-pkg-rich

call

python3     # terminal
OTHER_SECRET="test-secret"

# Client
export OTHER_SECRET="test-secret"

from clientTest import utils
utils.utilsFechaOfClient()

tree

├── LICENSE ├── README.md ├── build │ ├── bdist.macosx-10.13-x86_64 │ └── lib │ └── clientTest │ ├── init.py │ ├── main.py │ └── utils.py ├── clientTest │ ├── init.py │ ├── main.py │ ├── config.cfg │ └── utils.py ├── dist │ ├── example1-pkg-rich-0.0.1.tar.gz │ └── example1_pkg_rich-0.0.1-py3-none-any.whl ├── example1_pkg_rich.egg-info │ ├── PKG-INFO │ ├── SOURCES.txt │ ├── dependency_links.txt │ └── top_level.txt └── setup.py

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

example1-pkg-rich-0.0.2.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

example1_pkg_rich-0.0.2-py3-none-any.whl (14.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page