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.3.tar.gz (8.7 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.3-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for abdallahradwanlib-1.3.tar.gz
Algorithm Hash digest
SHA256 68fec460480c5d35c0406cfe0c72946a6831eda27115beaf33aa8da8d3641983
MD5 cedc749baeddf228cd9a4530f3aae6bb
BLAKE2b-256 c724258accb3ba89269c1623849fde6fa7abbe11591827f30837d361c465186b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for AbdallahRadwanLib-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8d0f2a5c57edb05c63bd436718fd1b7b6d99980ea0f190b65d98eb37be613975
MD5 3dcd8c03cee30936c995a10f8cc75df3
BLAKE2b-256 641ef40f4ea923dd99d7906690243a19c9e5f0a6a71d8f802e616665b60dab7f

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