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.
Metadata
Release files for arseeding 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| arseeding-0.0.6.tar.gz | 5.7 kB | Details |
Release files / arseeding-0.0.6.tar.gz
| Download URL | arseeding-0.0.6.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b8db823773c083f7b1323aad4330617af6e3019b9f165917da328e8f3e6d86e
|
|
BLAKE2b-256 checksum How to use checksums |
4d2fcbea2ab7eb1a4c207bd634b5ba614b17ae4c53d948c8b2a8c7a3a0e5c328
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|