Python sdk for arseeding
Project description
everpay.py
Python sdk for arseeding.
Install with
pip install arseeding
Quick start
upload file python.pdf and folder public to arweave using arseeding, and pay with usdc in your everapy account.
import arseeding, everpay
# ar account
#signer = everpay.ARSigner('ar_wallet.json')
# eth account
signer = everpay.ETHSigner(pk)
data = open('python.pdf', 'rb').read()
o = arseeding.send_and_pay(signer, 'usdc', data)
print(o['itemId'])
#file id is o['itemId'], you could get you file in url https://arseed.web3infura.io/o['itemId'] or http://arweave.net/o['itemId'] in a few minutes
# upload folder public
arseeding.upload_folder_and_pay(signer, 'usdc', 'public', slient=False)
Command Line Tool: arseed
arseeding.py package have an Command Line Tool arseed
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
arseeding-0.0.3.tar.gz
(5.4 kB
view details)
File details
Details for the file arseeding-0.0.3.tar.gz
.
File metadata
- Download URL: arseeding-0.0.3.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8712f0fcd4480b0fc4a488e9100ceb3c31f9563c457b0ddfc0e609dceca7610 |
|
MD5 | b3a222cf186ff11e78f752b37b27b10c |
|
BLAKE2b-256 | 2ecbd9cb626024173942a88385cbf621556decc720a4c79a7ccb6195edbd89a9 |