Skip to main content

pycoinos

This package serves as a python toolkit for interacting with coinos.io's API (Coinos API).

Usage

The main entry point for the package is the Client class. This class provides methods for interacting with the Coinos API.

from pycoinos import Client

client = Client("ey...") # your coinos token

The Client class has the following methods:

  • me(): Get your account details and balance.
  • post_invoice(): Create an invoice (lightning) or address (bitcoin).
  • get_invoice(): Fetch an invoice by passing a bitcoin address or lightning payment hash.
  • post_payment(): Send a lightning payment.
  • bitcoin_payment(): Send a bitcoin payment.
  • send(): Send an internal payment to another coinos user.
  • get_payments(): Get all payments sent or received by the current user.
  • set_token(): Update the token for the client.

Changelog

  • v0.1.0: Initial release
  • v0.2.0: Added async support with httpx

License

Copyright (c) 2026 Gaelincho

The pycoinos package is distributed under the MIT License.

Metadata

Release files for pycoinos 0.2.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 pycoinos 0.2.1
File Size Uploaded Provenance Actions
pycoinos-0.2.1.tar.gz 4.3 kB Without provenance Details for pycoinos-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 9.6 kB

Release files / pycoinos-0.2.1.tar.gz

Download URL pycoinos-0.2.1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
14de753dc265b1b38eced10e16f26b0a61675be2d1c87636d98aa03e1e915c84
BLAKE2b-256 checksum
How to use checksums
a9dd16345f288f9fcebe7a53eb1eb720fae126fa89f93b9543138551907abe12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / pycoinos-0.2.1-py3-none-any.whl

Download URL pycoinos-0.2.1-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f8efea844b00ed15dd0a7a3ec0c5fff10f5ad741aee79cf22b2faa44fc1578a3
BLAKE2b-256 checksum
How to use checksums
ea369421729dfa3e526f9338168b1c481d60ca34e35beaa32ea5af204f9a019a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for pycoinos 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files No provenance

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