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.5.tar.gz (8.4 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.5-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for abdallahradwanlib-1.5.tar.gz
Algorithm Hash digest
SHA256 923b39c598dc69849225b2bb5d522863a4e817662ad3b29722d055a8e39205be
MD5 d3b696175e2ec032faf3c1e553426862
BLAKE2b-256 9b9c4bc4946b039e3e0628e5a47a4e374449ae0a1c2fcf34110ba49b96e3f20c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for AbdallahRadwanLib-1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 896b8f1b4c4dbfd80987dba7c1cfa003b724ccc8526bb629048e7210bbe1161e
MD5 8f7c97483112148a583f7e5cb506229b
BLAKE2b-256 2d254e99610cfcffff7213cbf6d1c2db5096c8ab343de5061a185ccd3391a1de

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