PythonLibrary-Tutorial
This is a tutorial project for publishing your own python library on PyPi.
Requirments
Use the package manager pip to install all the requirements. Just follow the commands below:
Upgrade Setuptoos:
python -m pip install --upgrade twine setuptools
Install Wheel:
pip install wheel
Make a build for your Library/Package:
python setup.py sdist bdist_wheel
Install twine:
pip install twine
Upload Your Library:
twine upload dist/*
If the above command fail to upload:
python -m twine upload dist/*
Congratulations your Library/Package is Published Successfully!! You might also got a link like this: https://pypi.org/project/AreaOfFigs/
If you want to upload through Git repo, Add this code after import statements
here = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
long_description = "\n" + fh.read()
After add this code you have to add an Readme.md file and the just follow the commands above.
Usage
Watch the full tutorial on our youtube channel to know the complete setup. YT Channel: Developer Gautam
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Metadata
Release files for FF-Tokens 2.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ff_tokens-2.1.4.tar.gz | 10.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ff_tokens-2.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.5 kB
Release files / ff_tokens-2.1.4.tar.gz
| Download URL | ff_tokens-2.1.4.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0cb651d4851841043340fe27aa23cc06fb8d45fbd5656adde5ae25caaca56fda
|
|
BLAKE2b-256 checksum How to use checksums |
3149b369d70d6402af21755114766da2e5d343e8d13f34dbcbc74c183583a8f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / ff_tokens-2.1.4-py3-none-any.whl
| Download URL | ff_tokens-2.1.4-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6b0bcbee7dcfd0ecc72521460c32bd04559a909b4476b41ccbeacc5e6ed83aa1
|
|
BLAKE2b-256 checksum How to use checksums |
0735603a48412252ba103a6ce191dca59a92878287e3a4312c7b9934fc9d818d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|