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.2

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.2
File Size Uploaded Provenance Actions
pycoinos-0.2.2.tar.gz 4.3 kB Without provenance Details for pycoinos-0.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 9.6 kB

Release files / pycoinos-0.2.2.tar.gz

Download URL pycoinos-0.2.2.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a34389860ecc7fbeac292d7fc2a92bb2a541e65e21c014b16ab31b59d4457507
BLAKE2b-256 checksum
How to use checksums
568057ed2dce6f5b13ede03872095edd12a08718176d1c568154db7a92f8dce1
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.2-py3-none-any.whl

Download URL pycoinos-0.2.2-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
44c6a7e6c71b92b729bed1990ae69dfc25d8621b56d6d59e8afcb974a6e6ed28
BLAKE2b-256 checksum
How to use checksums
25bf12890015cc6a2637e422a0b70648984aec353df8de5af329981b27610fcc
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.2

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.2 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