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/['itemId'] or http://arweave.net/['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, to help user to upload file/folder easily.
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.5.tar.gz
(5.5 kB
view details)
File details
Details for the file arseeding-0.0.5.tar.gz
.
File metadata
- Download URL: arseeding-0.0.5.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd01917a9100efafbfb89246c2d26e96eb79dd6f19dd2f3ae76ee18f51049f84 |
|
MD5 | 960d6cbcc4d5f1a98cf112024902c2f1 |
|
BLAKE2b-256 | 43f31bfbf7c7cc628641f9b57af44f2d77bd38ee3df36a471f99739a29920da1 |