Skip to main content

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.

image

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.6.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file arseeding-0.0.6.tar.gz.

File metadata

  • Download URL: arseeding-0.0.6.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for arseeding-0.0.6.tar.gz
Algorithm Hash digest
SHA256 7b8db823773c083f7b1323aad4330617af6e3019b9f165917da328e8f3e6d86e
MD5 88a3e937751a9acb9bdb00ad15f93238
BLAKE2b-256 4d2fcbea2ab7eb1a4c207bd634b5ba614b17ae4c53d948c8b2a8c7a3a0e5c328

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page