# krakenpy
krakenpy is a python integration for kraken API. This package is using `krakenex` underneath, because `krakenex` only provides two methods `query_private` and `query_public` and it's really hard to guess the request params. Therefore, I have introduced Python `Typing` and `dataclasses` to readability.
## Installation
```
pip install krakenpy
```
or
```
poetry add krakenpy
```
## Usage
```
from krakenpy import Kraken, KrakenError
if __name__ == "__main__":
kraken = Kraken(
api_key="KRAKEN_API_KEY",
api_secret="KRAKEN_API_SECRET",
)
# Returns the User's account balance.
try:
print(kraken.get_balance())
except KrakenError as e:
print(e)
```
## Authors
- [Sheikh Haris Zahid](https://github.com/sheikhharis50)
Raw data
{
"_id": null,
"home_page": "https://github.com/Sheikhharis50/krakenpy",
"name": "krakenpy",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10,<4.0",
"maintainer_email": "",
"keywords": "kraken,kraken-api,python,crypto",
"author": "Sheikh Haris Zahid",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/41/c4/753f10a512d4a634537bcb74322ec1d32ebac3939ed14d0ca8990f7100c1/krakenpy-0.1.4.tar.gz",
"platform": null,
"description": "# krakenpy\n\nkrakenpy is a python integration for kraken API. This package is using `krakenex` underneath, because `krakenex` only provides two methods `query_private` and `query_public` and it's really hard to guess the request params. Therefore, I have introduced Python `Typing` and `dataclasses` to readability.\n\n## Installation\n\n```\npip install krakenpy\n```\n\nor\n\n```\npoetry add krakenpy\n```\n\n## Usage\n\n```\nfrom krakenpy import Kraken, KrakenError\n\nif __name__ == \"__main__\":\n kraken = Kraken(\n api_key=\"KRAKEN_API_KEY\",\n api_secret=\"KRAKEN_API_SECRET\",\n )\n\n # Returns the User's account balance.\n try:\n print(kraken.get_balance())\n except KrakenError as e:\n print(e)\n\n```\n\n## Authors\n\n- [Sheikh Haris Zahid](https://github.com/sheikhharis50)\n",
"bugtrack_url": null,
"license": "",
"summary": "krakenpy is tool in which we integrated kraken crypto exchange API",
"version": "0.1.4",
"project_urls": {
"Homepage": "https://github.com/Sheikhharis50/krakenpy",
"Repository": "https://github.com/Sheikhharis50/krakenpy"
},
"split_keywords": [
"kraken",
"kraken-api",
"python",
"crypto"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6926907aff1b6349261f806bafdebbd97b6bb0bb2ef5b9a463b59ac0e42d13fa",
"md5": "ec47d9d01cb92bba70547bfa4afe448b",
"sha256": "3eb347147c53eba853f0f47c0300b4b4778079a99f76781aa35c1db568be9687"
},
"downloads": -1,
"filename": "krakenpy-0.1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ec47d9d01cb92bba70547bfa4afe448b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10,<4.0",
"size": 4644,
"upload_time": "2023-05-29T11:26:51",
"upload_time_iso_8601": "2023-05-29T11:26:51.658882Z",
"url": "https://files.pythonhosted.org/packages/69/26/907aff1b6349261f806bafdebbd97b6bb0bb2ef5b9a463b59ac0e42d13fa/krakenpy-0.1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "41c4753f10a512d4a634537bcb74322ec1d32ebac3939ed14d0ca8990f7100c1",
"md5": "094cb555dac07298b166d7cc87cef891",
"sha256": "e97acdbcf525ea05766b9c7cf3de5b7ea4f6ecae854acd252ad7940b38ca3786"
},
"downloads": -1,
"filename": "krakenpy-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "094cb555dac07298b166d7cc87cef891",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10,<4.0",
"size": 3415,
"upload_time": "2023-05-29T11:26:52",
"upload_time_iso_8601": "2023-05-29T11:26:52.856104Z",
"url": "https://files.pythonhosted.org/packages/41/c4/753f10a512d4a634537bcb74322ec1d32ebac3939ed14d0ca8990f7100c1/krakenpy-0.1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-29 11:26:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Sheikhharis50",
"github_project": "krakenpy",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "krakenpy"
}