# firefly_iii-treasury.id-update
Update gold price from https://treasury.id (via websocket) to firefly-iii (https://firefly-iii.org) based how much grams you have
## Installation
Via PyPI
```sh
pip install firefly_iii-treasury.id-update
```
Via Docker
```sh
docker pull mansuf/firefly_iii-treasury.id-update
```
## Usage
**NOTE:** While this app provide CLI arguments that you can use, it's highly recommended to use environments instead
### Docker usage
```sh
# With environments
docker run --rm --env-file .env mansuf/firefly_iii-treasury.id-update
# With CLI arguments
docker run --rm mansuf/firefly_iii-treasury.id-update --api-key "firefly-iii api key" --transaction-id "firefly-iii transaction id" --url "firefly-iii base url" --grams-gold "3"
```
### PyPI usage
```sh
# With environments
firefly-iii-treasury-update --load-dotenv
# With CLI arguments
firefly-iii-treasury-update --api-key "firefly-iii api key" --transaction-id "firefly-iii transaction id" --url "firefly-iii base url" --grams-gold "3"
# If you having encountering error "firefly-iii-treasury-update" command not found
# you can do this instead
# For Windows
py -3 -m firefly_iii_treasury_id_update --load-dotenv .env
# For Linux / Mac OS
python3 -m firefly_iii_treasury_id_update --load-dotenv
```
Raw data
{
"_id": null,
"home_page": "https://github.com/mansuf/firefly_iii-treasury.id-update",
"name": "firefly-iii-treasury.id-update",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "firefly-iii",
"author": "Rahman Yusuf",
"author_email": "danipart4@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/c5/22/8286e09aac2cd7083ed1660af6ec98b4b8869541ad6760f0f1d2c4f323f6/firefly_iii_treasury_id_update-0.1.0.tar.gz",
"platform": null,
"description": "# firefly_iii-treasury.id-update\n\nUpdate gold price from https://treasury.id (via websocket) to firefly-iii (https://firefly-iii.org) based how much grams you have\n\n## Installation\n\nVia PyPI\n\n```sh\npip install firefly_iii-treasury.id-update\n```\n\nVia Docker\n\n```sh\ndocker pull mansuf/firefly_iii-treasury.id-update\n```\n\n## Usage\n\n**NOTE:** While this app provide CLI arguments that you can use, it's highly recommended to use environments instead\n\n### Docker usage\n\n```sh\n# With environments\ndocker run --rm --env-file .env mansuf/firefly_iii-treasury.id-update\n\n# With CLI arguments\ndocker run --rm mansuf/firefly_iii-treasury.id-update --api-key \"firefly-iii api key\" --transaction-id \"firefly-iii transaction id\" --url \"firefly-iii base url\" --grams-gold \"3\"\n```\n\n### PyPI usage\n\n```sh\n# With environments \nfirefly-iii-treasury-update --load-dotenv\n\n# With CLI arguments\nfirefly-iii-treasury-update --api-key \"firefly-iii api key\" --transaction-id \"firefly-iii transaction id\" --url \"firefly-iii base url\" --grams-gold \"3\"\n\n# If you having encountering error \"firefly-iii-treasury-update\" command not found\n# you can do this instead\n\n# For Windows\npy -3 -m firefly_iii_treasury_id_update --load-dotenv .env\n\n# For Linux / Mac OS\npython3 -m firefly_iii_treasury_id_update --load-dotenv\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Update gold price from https://treasury.id (via websocket) to firefly-iii (https://firefly-iii.org) based how much grams you have",
"version": "0.1.0",
"project_urls": {
"Download": "https://github.com/mansuf/firefly_iii-treasury.id-update/releases",
"Homepage": "https://github.com/mansuf/firefly_iii-treasury.id-update"
},
"split_keywords": [
"firefly-iii"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "eb262d9880d8f4994fad8b9ae315a37e93a7bed238b20cd714a9a4a86c850b31",
"md5": "db69a347a68c01a3e6dd52ffbbf04c7f",
"sha256": "cde49e88522b33c06318af84206a684b8ca7c780dbf27c666161406f4c1ad79a"
},
"downloads": -1,
"filename": "firefly_iii_treasury.id_update-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "db69a347a68c01a3e6dd52ffbbf04c7f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 8818,
"upload_time": "2024-06-28T10:20:46",
"upload_time_iso_8601": "2024-06-28T10:20:46.197667Z",
"url": "https://files.pythonhosted.org/packages/eb/26/2d9880d8f4994fad8b9ae315a37e93a7bed238b20cd714a9a4a86c850b31/firefly_iii_treasury.id_update-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c5228286e09aac2cd7083ed1660af6ec98b4b8869541ad6760f0f1d2c4f323f6",
"md5": "c15915f97afc522412693fd15234ee15",
"sha256": "e99c9d710282b3cf814656a5b6f516aef414ebc9d91419733c65968b426753c8"
},
"downloads": -1,
"filename": "firefly_iii_treasury_id_update-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "c15915f97afc522412693fd15234ee15",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 6975,
"upload_time": "2024-06-28T10:20:48",
"upload_time_iso_8601": "2024-06-28T10:20:48.338303Z",
"url": "https://files.pythonhosted.org/packages/c5/22/8286e09aac2cd7083ed1660af6ec98b4b8869541ad6760f0f1d2c4f323f6/firefly_iii_treasury_id_update-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-28 10:20:48",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mansuf",
"github_project": "firefly_iii-treasury.id-update",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "firefly-iii-treasury.id-update"
}