Skip to main content

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

Metadata

Release files for krakenpy 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for krakenpy 0.1.4
File Size Uploaded
krakenpy-0.1.4.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for krakenpy 0.1.4
File Interpreter ABI Platform
krakenpy-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 8.1 kB

Release files / krakenpy-0.1.4.tar.gz

Download URL krakenpy-0.1.4.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e97acdbcf525ea05766b9c7cf3de5b7ea4f6ecae854acd252ad7940b38ca3786
BLAKE2b-256 checksum
How to use checksums
41c4753f10a512d4a634537bcb74322ec1d32ebac3939ed14d0ca8990f7100c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.10.11 Linux/5.15.0-1037-azure

Release files / krakenpy-0.1.4-py3-none-any.whl

Download URL krakenpy-0.1.4-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3eb347147c53eba853f0f47c0300b4b4778079a99f76781aa35c1db568be9687
BLAKE2b-256 checksum
How to use checksums
6926907aff1b6349261f806bafdebbd97b6bb0bb2ef5b9a463b59ac0e42d13fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.10.11 Linux/5.15.0-1037-azure

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page