Skip to main content

Wrapper for twine & python setup.py

Project description

🐍 Kobra

Wrapper for twine & python setup.py. The name of this module is not an error but a combination of the words king and cobra.

💾 Install

Installing the project by using pip:

pip install kobra

If you have *nix such a system (Android, Mac OS, Free BSD, Linux) you may not have the last python in your terminal, so use:

pip3 install kobra

⚙️ Functions

Part of the functionality is copying from python setup.py.

💾 Install

Installing the module from source code:

kobra

or:

kobra install

🧑‍💻 Develop

A command for developers to use the module folder as the main:

kobra develop

It is desirable to use when changing locales and configs of your module, which are in separate files.

📦 Publish

With this command, you can change the version of your module, create a build with python setup.py sdist and release to pypi.org:

kobra publish

For the command to work in your module there must be a file __init__.py, for example the following:

__version__ = "0.2.1"

You can also use the version from __init__.py in your setup.py:

from setuptools import setup
from <modulename> import __version__

setup(
    ...
    version=__version__
    ...
)

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

kobra-0.3.1.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file kobra-0.3.1.tar.gz.

File metadata

  • Download URL: kobra-0.3.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5

File hashes

Hashes for kobra-0.3.1.tar.gz
Algorithm Hash digest
SHA256 c01ae7700ca3a453a28c628505c96c29d9e30ccdf93d9b66deb40aab61c0cc98
MD5 c9c2b4662330440162d3fad0fb75b58a
BLAKE2b-256 cce70ac9012a94cd963c5dc81f6b1e1da3d2f7ab94e96fa22e4f62e9d01d8edc

See more details on using hashes here.

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