This release is a pre-release and may not be stable for production use.
IOTA Wallet Library - Python binding
Python binding to the iota.rs wallet library.
Requirements
Rust and Cargo, to compile the binding. Install them here.
Installation
- Go to
wallet.rs/bindings/python
Create a virtual environment and use it (optional)
python3 -m venv iota_wallet_venvsource iota_wallet_venv/bin/activate; Windows:.\iota_wallet_venv\Scripts\activate
Install required dependencies and build the wheel
pip install -r requirements-dev.txtpip install .
Run examples
python3 example/[example file]
Example:
python3 examples/0-create-account.py
To deactivate the virtual environment (optional)
deactivate
Getting Started
After you installed the library, you can create a IotaWallet instance and interact with it.
from iota_wallet import IotaWallet, StrongholdSecretManager
# This example creates a new database and account
wallet_options = {
'nodes': ['https://api.testnet.shimmer.network'],
}
# Shimmer coin type
coin_type = 4219
secret_manager = StrongholdSecretManager("wallet.stronghold", "some_hopefully_secure_password")
wallet = IotaWallet('./alice-database', wallet_options, coin_type, secret_manager)
# Store the mnemonic in the Stronghold snapshot, this only needs to be done once
account = wallet.store_mnemonic("flame fever pig forward exact dash body idea link scrub tennis minute " +
"surge unaware prosper over waste kitten ceiling human knife arch situate civil")
account = wallet.create_account('Alice')
print(account)
Generate API References
You can generate the python API reference with the following command from this directory:
pydoc-markdown
Customize the Output
Pydoc-markdown automatically loads its configuration from the pydoc-markdown.yml file. You can override it with the CLI, or alter the values.
loaders:
- type: python
processors:
- type: filter
skip_empty_modules: true
- type: smart
- type: crossref
renderer:
type: docusaurus
docs_base_path: ../../documentation/docs/references/
relative_output_path: python
markdown:
use_fixed_header_levels: true
header_level_by_type:
Module: 1
Class: 2
Method: 3
Function: 3
Data: 3
Metadata
Release files for iota-wallet 1.0.0rc2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 172.4 MB
Release files / iota_wallet-1.0.0rc2-cp311-none-win_amd64.whl
| Download URL | iota_wallet-1.0.0rc2-cp311-none-win_amd64.whl |
|---|---|
| Size | 8.6 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
34dccdfcbedaf83a348843894d281218e565c299aa316d8bc320082653a2289a
|
|
BLAKE2b-256 checksum How to use checksums |
971555f81497d3eedc7f587b99d3ce560d908e847d836b87e05e4857acc610d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / iota_wallet-1.0.0rc2-cp311-cp311-manylinux_2_35_x86_64.whl
| Download URL | iota_wallet-1.0.0rc2-cp311-cp311-manylinux_2_35_x86_64.whl |
|---|---|
| Size | 12.6 MB |
| Tags | CPython 3.11 Linux glibc 2.35+ x86-64 |
|
SHA-256 checksum How to use checksums |
45aca6219ce90880d319be5c039d81b287b23f00352ce0256c3cb06a0921eabf
|
|
BLAKE2b-256 checksum How to use checksums |
246f0f65c173d705ee4d78c3fe4a0182bd08e90d530df9950dd502a5bb9e76f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / iota_wallet-1.0.0rc2-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | iota_wallet-1.0.0rc2-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 9.2 MB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
123c565029d5267806b01be6cc302db4e351fec29abb80158399402f06ca9792
|
|
BLAKE2b-256 checksum How to use checksums |
d54b08c9b1de953ff6a9bf4851809934dea9d3daa2d45e1dec2add92ee4ad5e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / iota_wallet-1.0.0rc2-cp311-cp311-macosx_10_14_x86_64.whl
| Download URL | iota_wallet-1.0.0rc2-cp311-cp311-macosx_10_14_x86_64.whl |
|---|---|
| Size | 9.6 MB |
| Tags | CPython 3.11 macOS 10.14+ x86-64 |
|
SHA-256 checksum How to use checksums |
b1272a2a07876c991a2fb30b4ddf02c14039709fd20c238b27a0f3424cc44a38
|
|
BLAKE2b-256 checksum How to use checksums |
78244363d575dc8dae4af8ee436e90e8862e57ef023b7fe56b2eb7e4feb200a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / iota_wallet-1.0.0rc2-cp310-none-win_amd64.whl
| Download URL | iota_wallet-1.0.0rc2-cp310-none-win_amd64.whl |
|---|---|
| Size | 8.6 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
caea1bdd6415a9b6ee4f2f75345c853ac222a52fbe76bb04e380cf97e86f68c1
|
|
BLAKE2b-256 checksum How to use checksums |
da64716667644d72c6771321a656288f8a469511a65b7d5e7c73cd2bcd4a86f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / iota_wallet-1.0.0rc2-cp310-cp310-manylinux_2_35_x86_64.whl
| Download URL | iota_wallet-1.0.0rc2-cp310-cp310-manylinux_2_35_x86_64.whl |
|---|---|
| Size | 12.6 MB |
| Tags | CPython 3.10 Linux glibc 2.35+ x86-64 |
|
SHA-256 checksum How to use checksums |
95b5874446a5221d21e781a9e43e377e99d3ffd70440441a6861ae31d40ecd0e
|
|
BLAKE2b-256 checksum How to use checksums |
3c1bec2dda2d2cf8b1b239a245b80251d46d87d4d3c1d361ff81cd47299953ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / iota_wallet-1.0.0rc2-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | iota_wallet-1.0.0rc2-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 9.2 MB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
eee1573c2de07da5ea8c8c616979edd12a91cffb73c0bec041f452102bc1cec4
|
|
BLAKE2b-256 checksum How to use checksums |
a2915bca2f5fdeccdd14d8778d81e2d0c5473381113025a1f151454e8f29574e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / iota_wallet-1.0.0rc2-cp310-cp310-macosx_10_14_x86_64.whl
| Download URL | iota_wallet-1.0.0rc2-cp310-cp310-macosx_10_14_x86_64.whl |
|---|---|
| Size | 9.6 MB |
| Tags | CPython 3.10 macOS 10.14+ x86-64 |
|
SHA-256 checksum How to use checksums |
50f7a5aa5e5c5237557b12367ebce863345ac9eee946305ff3955c5b3b0f7cf1
|
|
BLAKE2b-256 checksum How to use checksums |
012f56a1abe9cd417e03197164d3d133acdaeed2ce176a79ccf3b457cd73a44d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / iota_wallet-1.0.0rc2-cp39-none-win_amd64.whl
| Download URL | iota_wallet-1.0.0rc2-cp39-none-win_amd64.whl |
|---|---|
| Size | 8.6 MB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
bb63cb95a391b4b862f6c1696abf3d2b08e86f4eda467513631cb09cdd0c1267
|
|
BLAKE2b-256 checksum How to use checksums |
52568ab5c8933e1e039e6351adc0ee1715d84cec9288966a70617f74a50b95da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / iota_wallet-1.0.0rc2-cp39-cp39-manylinux_2_35_x86_64.whl
| Download URL | iota_wallet-1.0.0rc2-cp39-cp39-manylinux_2_35_x86_64.whl |
|---|---|
| Size | 12.6 MB |
| Tags | CPython 3.9 Linux glibc 2.35+ x86-64 |
|
SHA-256 checksum How to use checksums |
f51a558a6747131aa110b216c4ac40679a1b0f01f23988f8b8233fc6a0070d15
|
|
BLAKE2b-256 checksum How to use checksums |
859dad1d9058eb3d1b32076e6b28ae1cd8155f7a8bed81127bbc4daff54d4082
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / iota_wallet-1.0.0rc2-cp39-cp39-manylinux_2_31_x86_64.whl
| Download URL | iota_wallet-1.0.0rc2-cp39-cp39-manylinux_2_31_x86_64.whl |
|---|---|
| Size | 12.6 MB |
| Tags | CPython 3.9 Linux glibc 2.31+ x86-64 |
|
SHA-256 checksum How to use checksums |
1d305a5bc6e82cf8fbd4433a930455a0cb2a386d07c31d7bd33c153d93bbf4de
|
|
BLAKE2b-256 checksum How to use checksums |
ad84f414e3fa4cf88892d8b47e033c2ce1e4d41617d97273bfafab17e0faae93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / iota_wallet-1.0.0rc2-cp39-cp39-macosx_11_0_arm64.whl
| Download URL | iota_wallet-1.0.0rc2-cp39-cp39-macosx_11_0_arm64.whl |
|---|---|
| Size | 9.2 MB |
| Tags | CPython 3.9 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
2f17c2c7c7aee585947735d1d90a59ed57afcd559ce4bcfc146c5257e3bd3617
|
|
BLAKE2b-256 checksum How to use checksums |
593690027197cd6e2698986a83166b8a924a9a22ef237995c2567fe96e32e635
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / iota_wallet-1.0.0rc2-cp39-cp39-macosx_10_14_x86_64.whl
| Download URL | iota_wallet-1.0.0rc2-cp39-cp39-macosx_10_14_x86_64.whl |
|---|---|
| Size | 9.6 MB |
| Tags | CPython 3.9 macOS 10.14+ x86-64 |
|
SHA-256 checksum How to use checksums |
817d11b9354c938b32f7789ef04497b0bfdfe2d3b715773c742621cc8d79d237
|
|
BLAKE2b-256 checksum How to use checksums |
21885117c0201c3aecb0391786ca4cd27ed6c917bb7637333834dbf36610f31a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / iota_wallet-1.0.0rc2-cp38-none-win_amd64.whl
| Download URL | iota_wallet-1.0.0rc2-cp38-none-win_amd64.whl |
|---|---|
| Size | 8.6 MB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
bc3d1f3d9474631f284252e6f534264b52a78c83c1932da85b1b9a2adc9ea932
|
|
BLAKE2b-256 checksum How to use checksums |
1cc906361ace9243d121e61a3786e9300727613d8809dd3dc1450688ae9bf7af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / iota_wallet-1.0.0rc2-cp38-cp38-manylinux_2_35_x86_64.whl
| Download URL | iota_wallet-1.0.0rc2-cp38-cp38-manylinux_2_35_x86_64.whl |
|---|---|
| Size | 12.6 MB |
| Tags | CPython 3.8 Linux glibc 2.35+ x86-64 |
|
SHA-256 checksum How to use checksums |
bdd52dc9fb1f3922cea6eb5532e9146e58de3e2933be8ebd1671a87eb7029de8
|
|
BLAKE2b-256 checksum How to use checksums |
e43df228d8df048dc6944dd65f719d1237054b1d550b02a73ae235d8eba2b789
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / iota_wallet-1.0.0rc2-cp38-cp38-macosx_11_0_arm64.whl
| Download URL | iota_wallet-1.0.0rc2-cp38-cp38-macosx_11_0_arm64.whl |
|---|---|
| Size | 9.2 MB |
| Tags | CPython 3.8 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8d74de11098692995637cf8e3c6c2e5271aa94ef5418ab79f6c155fa647a5c04
|
|
BLAKE2b-256 checksum How to use checksums |
8e5906c8a7f8095485665bee79f887c4f7633642520883d713a1db39eacdd999
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / iota_wallet-1.0.0rc2-cp38-cp38-macosx_10_14_x86_64.whl
| Download URL | iota_wallet-1.0.0rc2-cp38-cp38-macosx_10_14_x86_64.whl |
|---|---|
| Size | 9.6 MB |
| Tags | CPython 3.8 macOS 10.14+ x86-64 |
|
SHA-256 checksum How to use checksums |
2e9440b912e6e62a67fdb7634ee555fe63e86b960fbc7978446a7791ab370945
|
|
BLAKE2b-256 checksum How to use checksums |
1e879236b2f61f260c8e4661b707e0ea99df48f6918781b8235887935fa43a1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Security for iota-wallet 1.0.0rc2
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.