Skip to main content

My First Package for Python Projects with PyPI Package - October 2024

Project description

AbdallahPackage

Upgrade pip

    python.exe -m pip install --upgrade pip

-----------------------------------------------------------

Install the following packages pip install twine pip install setuptools wheel pip install tqdm or pip install twine setuptools wheel tqdm

python setup.py sdist
twine upload --repository-url https://upload.pypi.org/legacy/ dist/*

---------------------Update My Package---------------------

1. Uninstall package

        pip uninstall AbdallahRadwanLib

2. Update the Version Number in setup info

        setup.py => increase version No

3. clear setup info

        rm -rf dist/ build/ *.egg-info

4. prepare setup info

        python setup.py bdist_wheel sdist
                or
        python setup.py bdist_wheel
        python setup.py sdist        

5. Check dist [optional]

        twine check dist/*

6. Copy Files

        Xcopy D:\MyWork\Abdallah\Python\AbdallahPackage\AbdallahRadwanLib C:\Users\abdullah\appdata\local\programs\python\python312\lib\site-packages\AbdallahRadwanLib /E /H /C /I

        Xcopy D:\MyWork\Git\AbdallahPackage\AbdallahRadwanLib
        C:\Users\Abdallah-Lat5540\appdata\local\programs\python\python312\lib\site-packages\AbdallahRadwanLib /E /H /C /I

7. upload your package

        twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
        get my token from my-package-upload-token

8. Install the Package**

        pip install dist/AbdallahRadwanLib-1.1-py3-none-any.whl
                or
        pip install AbdallahRadwanLib
                or
        pip install AbdallahRadwanLib==VersionNumber            
                or
        pip install AbdallahRadwanLib --upgrade

-----------------------------------------------------------

Reinstall with --force-reinstall and --no-binary pip install --force-reinstall --no-binary=:all: AbdallahRadwanLib

Download the source manually pip download --no-binary=:all: AbdallahRadwanLib tar -xvzf AbdallahRadwanLib-0.6.tar.gz

View at https://pypi.org/project/AbdallahRadwanLib/0.8/

-----------------------------------------------------------

List of Mibrary file arUtilityConst arUtilityEnum arUtilitySettings arUtilityGeneral arUtilityEncryption arUtilityFile arUtilityConfig arUtilityDBOracle arUtilityDBSqlAlchemy arUtilityBaseModel -----------------------------------------------------------

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

abdallahradwanlib-1.2.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

AbdallahRadwanLib-1.2-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file abdallahradwanlib-1.2.tar.gz.

File metadata

  • Download URL: abdallahradwanlib-1.2.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for abdallahradwanlib-1.2.tar.gz
Algorithm Hash digest
SHA256 751084173482ffe648c0ad20234f255936506645a96513929a62cf432c29a0a4
MD5 95758cd4ee80b46dee9503f4f7eca2ca
BLAKE2b-256 92a8505f85f54ef9945183ada1ef869eae2d3220e2833d7838d199940507874a

See more details on using hashes here.

File details

Details for the file AbdallahRadwanLib-1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for AbdallahRadwanLib-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 26e43213a188df6d22c9b9aa3f3bdd4c3d3c6202c92f507d9531412fbbb57764
MD5 db73473532bc73bbe4e6ce90f8764289
BLAKE2b-256 cb1e830a89d30e7fee48cc034688cd775b52a6c399dfe79e4c8af3c25f392904

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