Skip to main content

cngn

Official Python SDK for the cNGN API.

Install

pip install cngn

Use pip install "cngn[wallet]" to include wallet helpers.

Usage

from cngn import CNGN

with CNGN(
    api_key="cngn_test_...",
    encryption_key="...",
    private_key=open("cngn_ed25519").read(),
) as client:
    print(client.get_balance())

Use AsyncCNGN for async applications. Manage API keys, encryption keys, Ed25519 keys, and IP allowlisting at app.cngn.co.

Release files for cngn 2.0.1

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

Source distribution (sdist)

Source distribution for cngn 2.0.1
File Size Uploaded
cngn-2.0.1.tar.gz 18.4 kB Details

Built distribution (wheel)

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

Total release size: 40.9 kB

Release files / cngn-2.0.1.tar.gz

Download URL cngn-2.0.1.tar.gz
Size 18.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8a67e1fa53f9c45459283fa67c3cef283d071882c6786af2f8ca2a48c3c87435
BLAKE2b-256 checksum
How to use checksums
bab21cd7f8d2697a6ebf25fe4717befd0b784c920c0f0b0df42523fec5b5e7a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.14

Release files / cngn-2.0.1-py3-none-any.whl

Download URL cngn-2.0.1-py3-none-any.whl
Size 22.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29697ab0276c113d56ef3354bc8db170ccf2b26cfa4c7a9a4cc3660da06e58aa
BLAKE2b-256 checksum
How to use checksums
f3fb745821b34c733547c919236181382ebf1167d289a6c9cc11519e3e9a727c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.14

Release history Release notifications | RSS feed

2.0.3

2 release files

2.0.2

2 release files

This release

2.0.1 This release

2 release files

2.0.0

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