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 AbdallahRadwanLib
                or
        pip install AbdallahRadwanLib==VersionNumber
                or
        pip install AbdallahRadwanLib --upgrade
                or
        pip install dist/AbdallahRadwanLib-1.1-py3-none-any.whl

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

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.4.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.4-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: abdallahradwanlib-1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 3541f21a6cedd7fc33401b4be716d3abc3c15db7b6811f6d07ee2c519b7b8837
MD5 4ee9925272a0b0496dcb87719588e043
BLAKE2b-256 d2c5efc3b56c9a93252a97b2f74a816d894c069c716ff4b25dee42f84b730169

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for AbdallahRadwanLib-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 25cdbe1411963d6da0f6ce52e98bbc4c815b0c13ce6f347436a9a899f74d7b33
MD5 e0f15ec34feff3699d1b202b77f4a128
BLAKE2b-256 5e60f11da354ae17a6fd888c252fd830b9a5d027ee230933ba9ecee7cd0b31a6

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