Skip to main content

irelease is an Python package to release your package.

Project description


Python PyPI Version License Forks Open Issues Project Status Downloads Downloads Medium GitHub repo size Donate

Release your library by using the command: irelease or pyrelease

Star this repo if you like it! ⭐️


irelease is Python package that will help to release your python package on both github and pypi. A new release of your package is created by taking the following steps:

  1. Extract the version from the file

  2. Remove old build directories such as dist, build and x.egg-info

  3. Git pull (to make sure all is up to date)

  4. Get latest release version at github

  5. Check if the local (current) version is newer then the latest github release.

     1. Make new wheel, build and install package
     2. Set tag to newest version
     3. Push to git
     4. Upload to pypi (credentials for pypi required)


  • Install irelease from PyPI (recommended). irelease is compatible with Python 3.6+ and runs on Linux, MacOS X and Windows.
  • It is distributed under the MIT license.

Quick Start

pip install irelease

Alternatively, install irelease from the GitHub source:

git clone
cd irelease
python install

Run irelease

Go to the directory where the package is you want to release and simply run release:

$ irelease

The following arguments are availble:

# Github name
irelease -u <githubname>

# Package name your want to release
irelease -p <packagename>

# Removing local builds:
# 1: Yes
# 0: No
irelease -c 1

# Verbosity messages:
# 0: No messages
# 1: Error only
# 2: Warnings and above
# 3: Regular messages and above
# 4: Debug and above
# 5: Trace and above
irelease -v 5

# Twine path for to irelease at pypi. This is automatically determined if standard installation is performed.
irelease -t 'C://<username>/AppData/Roaming/Python/Python36/Scripts/twine.exe'


Your package to-be-published must have the correct structure. At least these files and folders are expected:

    ├── <package_dir>/
       ├── ...
    ├── .gitignore
    ├── LICENSE
    ├── requirements.txt
    └── ...

Example: releasing bnlearn package.

    ├── bnlearn/
    ├── .gitignore
    ├── LICENSE
    ├── requirements.txt

Go to your destination dir and run release:

$ irelease

release with your specified arguments

# Package can be specified:
$ bnlearn>irelease -p bnlearn

# Username can be specified:
$ bnlearn>irelease -u erdogant

# Cleaning of previous builds in directory can be disabled
$ bnlearn>irelease -c 0

Do not forget to enter some release information on github and mark your release number:



  • Erdogan Taskesen, github: erdogant
  • Contributions are welcome.
  • If you wish to buy me a Coffee for this work, it is very appreciated :)

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

irelease-1.2.0.tar.gz (12.3 kB view hashes)

Uploaded Source

Built Distribution

irelease-1.2.0-py3-none-any.whl (11.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page