Skip to main content

anyone lived in a pretty how town - the poem

Project description

This Python package will deliver the poem, “anyone lived in a pretty how town,” by e.e. cummings.

# unit test
python -m pytest

The real purpose of this package is build some solid Python foundations for future work.

So, it turns out nearly all of the documentation on building your own python package is either out of date or conflicting. Even the documentation on the official Python documentation is wrong at times. There’s also spotty documentation for the TestPyPi sandbox that is out of date too.

Anyway, I guess the best thing to do for now is to use this package as a starting template.

You must create an account. There are actually two pypi pages; I’m not really sure which i the definitive source of truth, though doing anything to one site will affect the other.

You must create a .pypirc file

cd ~
touch .pypirc

# copy + paste the following:
# change your username and password to pyp credentials
[distutils]
index-servers=
    pypi

[pypi]
username = myusername
password = mypassword

Once you made a template package like anyone, you must install twine, which is the service to upload packages

pip install twine

Then try to build your distribution. It might work.

# be sure to be in your package directory at its root
python setup.py sdist

Now cross your fingers and hopefully the rest will work

# upload
twine upload dist/*

# moment of truth
pip install mypackgename

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

anyone-0.1.7.tar.gz (5.5 kB view details)

Uploaded Source

File details

Details for the file anyone-0.1.7.tar.gz.

File metadata

  • Download URL: anyone-0.1.7.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for anyone-0.1.7.tar.gz
Algorithm Hash digest
SHA256 356b2139a84a008657bffe7db54ae59a75cd953d88c1a1fe0fd70010ef29b410
MD5 fadf277768d2d693bcbb2cff3b97eb4f
BLAKE2b-256 581b036ec41325277d6d8c8e6ac6dd2a56099122674b8694150cb3ea3b155b3b

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