Code Wallet Python SDK
The Code Wallet Python SDK is a module that allows Python developers to integrate Code into their applications. Seamlessly start accepting payments with minimal setup and just a few lines of code.
See the documentation for more details.
What is Code?
Code is a mobile wallet app leveraging self-custodial blockchain technology to provide an instant, global, and private payments experience.
Installation
You can install the Code Wallet Python SDK from PyPI:
pip install code-wallet
Usage
Here's a simple example showcasing how to create a payment intent using the Python SDK:
from code_wallet.client.intents import payment_intents
test_data = {
'destination': "E8otxw1CVX9bfyddKu3ZB3BVLa4VVF9J7CTPdnUwT9jR",
'amount': 0.05,
'currency': 'usd',
}
# Create a payment request intent
payment_intents.create(test_data)
# Verify the intent status
payment_intents.get_status(id)
Getting Help
If you have any questions or need help integrating Code into your website or application, please reach out to us on Discord or Twitter.
Contributing
For now the best way to contribute is to share feedback on Discord. This will evolve as we continue to build out the platform and open up more ways to contribute.
Metadata
Release files for code-wallet 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| code_wallet-1.0.7.tar.gz | 15.7 kB | Without provenance | Details for code_wallet-1.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| code_wallet-1.0.7-py3-none-any.whl | Python 3 | none | any | Details for code_wallet-1.0.7-py3-none-any.whl |
Total release size: 36.7 kB
Release files / code_wallet-1.0.7.tar.gz
| Download URL | code_wallet-1.0.7.tar.gz |
|---|---|
| Size | 15.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec95bb494042ad1f255e615cbb67b8d1cb07991074b876cc661ba4f493d0df94
|
|
BLAKE2b-256 checksum How to use checksums |
a43d68a5f4e10a6508218162ff2536c5d610d6a035ea9b6a5137be3645172f31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / code_wallet-1.0.7-py3-none-any.whl
| Download URL | code_wallet-1.0.7-py3-none-any.whl |
|---|---|
| Size | 21.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b50045195ad2c8613a78baf97fe20c59de22d159783cdfe31faea68bce7b9582
|
|
BLAKE2b-256 checksum How to use checksums |
d7225af41f7ea3bd48abebe4474ab3c2ce56f0ee0c0d7f2d17346c9e205a5b15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Security for code-wallet 1.0.7
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.