# Zrb extras
zrb-extras is a [pypi](https://pypi.org) package.
You can install zrb-extras by invoking the following command:
```bash
pip install zrb-extras
```
Once zrb-extras is installed, you can then run it by invoking the following command:
```bash
zrb-extras
```
You can also import `zrb-extras` into your Python program:
```python
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/](https://pypi.org/)
- Create an API token
You can also create a `TestPypi` account:
- Log in or register to [https://test.pypi.org/](https://test.pypi.org/)
- Create an API token
Once you have your API token, you need to configure poetry:
```
poetry config pypi-token.pypi <your-api-token>
```
To publish zrb-extras, you can do the following command:
```bash
poetry publish --build
```
## Updating version
You can update zrb-extras version by modifying the following section in `pyproject.toml`:
```toml
[project]
version = "0.0.2"
```
## Adding dependencies
To add zrb-extras dependencies, you can edit the following section in `pyproject.toml`:
```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`:
```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.
Raw data
{
"_id": null,
"home_page": "https://github.com/goFrendiAsgard/zrb-extras",
"name": "zrb-extras",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0.0,>=3.11.0",
"maintainer_email": null,
"keywords": null,
"author": "Go Frendi Gunawan",
"author_email": "gofrendiasgard@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/bd/ae/3384081dac00340459694f97b6ff1ef807458d3ee1344304d6751e7238d9/zrb_extras-0.0.7.tar.gz",
"platform": null,
"description": "# Zrb extras\n\nzrb-extras is a [pypi](https://pypi.org) package.\n\nYou can install zrb-extras by invoking the following command:\n\n```bash\npip install zrb-extras\n```\n\nOnce zrb-extras is installed, you can then run it by invoking the following command:\n\n```bash\nzrb-extras\n```\n\nYou can also import `zrb-extras` into your Python program:\n\n```python\nfrom zrb_extras import hello\n\nprint(hello())\n```\n\n\n# For maintainers\n\n## Publish to pypi\n\nTo publish zrb-extras, you need to have a `Pypi` account:\n\n- Log in or register to [https://pypi.org/](https://pypi.org/)\n- Create an API token\n\nYou can also create a `TestPypi` account:\n\n- Log in or register to [https://test.pypi.org/](https://test.pypi.org/)\n- Create an API token\n\nOnce you have your API token, you need to configure poetry:\n\n```\npoetry config pypi-token.pypi <your-api-token>\n```\n\nTo publish zrb-extras, you can do the following command:\n\n```bash\npoetry publish --build\n```\n\n## Updating version\n\nYou can update zrb-extras version by modifying the following section in `pyproject.toml`:\n\n```toml\n[project]\nversion = \"0.0.2\"\n```\n\n## Adding dependencies\n\nTo add zrb-extras dependencies, you can edit the following section in `pyproject.toml`:\n\n```toml\n[project]\ndependencies = [\n \"Jinja2==3.1.2\",\n \"jsons==1.6.3\"\n]\n```\n\n## Adding script\n\nTo make zrb-extras executable, you can edit the following section in `pyproject.toml`:\n\n```toml\n[project-scripts]\nzrb-extras-hello = \"zrb_extras.__main__:hello\"\n```\n\nNow, whenever you run `zrb-extras-hello`, the `main` function on your `__main__.py` will be executed.\n",
"bugtrack_url": null,
"license": "AGPL-3.0-or-later",
"summary": "Collection of Zrb additional utilities",
"version": "0.0.7",
"project_urls": {
"Documentation": "https://github.com/goFrendiAsgard/zrb-extras",
"Homepage": "https://github.com/goFrendiAsgard/zrb-extras",
"Repository": "https://github.com/goFrendiAsgard/zrb-extras"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c0da450a726979d002a4227f1a84ba6bede4d606199881c0764d2bae9c7a8320",
"md5": "5c0233fef583943f26965d00d2563d3e",
"sha256": "c5e2db84d1a8f8fff73ae75c6c3a4dc1caf7c5d6f48b189b20e81267e0862f7a"
},
"downloads": -1,
"filename": "zrb_extras-0.0.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5c0233fef583943f26965d00d2563d3e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0.0,>=3.11.0",
"size": 5531,
"upload_time": "2025-09-05T04:19:34",
"upload_time_iso_8601": "2025-09-05T04:19:34.244704Z",
"url": "https://files.pythonhosted.org/packages/c0/da/450a726979d002a4227f1a84ba6bede4d606199881c0764d2bae9c7a8320/zrb_extras-0.0.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bdae3384081dac00340459694f97b6ff1ef807458d3ee1344304d6751e7238d9",
"md5": "192f0533b164af8f72397f232ce9b6d5",
"sha256": "dbf08f21b7f4176d7e25758daecc12ec87f3b38efd261505117895b08d2e0492"
},
"downloads": -1,
"filename": "zrb_extras-0.0.7.tar.gz",
"has_sig": false,
"md5_digest": "192f0533b164af8f72397f232ce9b6d5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0.0,>=3.11.0",
"size": 4674,
"upload_time": "2025-09-05T04:19:35",
"upload_time_iso_8601": "2025-09-05T04:19:35.847480Z",
"url": "https://files.pythonhosted.org/packages/bd/ae/3384081dac00340459694f97b6ff1ef807458d3ee1344304d6751e7238d9/zrb_extras-0.0.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-05 04:19:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "goFrendiAsgard",
"github_project": "zrb-extras",
"github_not_found": true,
"lcname": "zrb-extras"
}