Collection of Zrb additional utilities
Project description
Zrb extras
zrb-extras is a pypi package.
You can install zrb-extras by invoking the following command:
pip install zrb-extras
Once zrb-extras is installed, you can then run it by invoking the following command:
zrb-extras
You can also import zrb-extras
into your Python program:
from zrb_extras import hello
print(hello())
For maintainers
Publish to pypi
To publish zrb-extras, you need to have a Pypi
account:
- Log in or register to https://pypi.org/
- Create an API token
You can also create a TestPypi
account:
- Log in or register to https://test.pypi.org/
- Create an API token
Once you have your API token, you need to create a ~/.pypirc
file:
[distutils]
index-servers =
pypi
testpypi
[pypi]
repository = https://upload.pypi.org/legacy/
username = __token__
password = pypi-xxx-xxx
[testpypi]
repository = https://test.pypi.org/legacy/
username = __token__
password = pypi-xxx-xxx
To publish zrb-extras, you can do the following command:
zrb project publish-zrb-extras
Updating version
You can update zrb-extras version by modifying the following section in pyproject.toml
:
[project]
version = "0.0.2"
Adding dependencies
To add zrb-extras dependencies, you can edit the following section in pyproject.toml
:
[project]
dependencies = [
"Jinja2==3.1.2",
"jsons==1.6.3"
]
Adding script
To make zrb-extras executable, you can edit the following section in pyproject.toml
:
[project-scripts]
zrb-extras-hello = "zrb_extras.__main__:hello"
Now, whenever you run zrb-extras-hello
, the main
function on your __main__.py
will be executed.
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
Built Distribution
Hashes for zrb_extras-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1711214cbb6600f1d87e9af18cf2d3c60cc8c1ddc2da5139df300639153ef10 |
|
MD5 | dff785e1b3c42b74954da4a0a7357b6d |
|
BLAKE2b-256 | 3c15231de8d55c32c5106333bccd8515695d04de76cff8c6f32d2a4a7acb0747 |