Skip to main content

pygate-webapp

A Filecoin Flask template application for Python developers using Textile.io's Powergate and the Pygate gRPC client.

screencap

Installation

  • Clone files and cd to directory:
    git clone https://github.com/pygate/pygate-webapp && cd pygate-webapp
  • Set up virtualenv:
    virtualenv venv
  • Activate virtualenv:
    source venv/bin/activate
  • Install requirements:
    pip install -r requirements.txt
  • Create the application database:
    python create_db.py
  • pygate-webapp is built using the Python Flask framework. To start the built-in development server:
    python run.py
  • Go to localhost:5000 in your browser to use the app.
  • This is a development release of the pygate-webapp. It is designed to work with a Dockerized Localnet Powergate. It assumed this is running at the 127.0.0.1:5002 address. You can change the POWERGATE_ADDRESS in the config.py file.

Features

  • Upload a file or multiple files from your local machine to the Filecoin network.
  • Download them from Filecoin back to your local machine.
  • Check Wallet balances.
  • Change Filecoin Filesystem (FFS) configuration settings and push them to files in storage.
  • Review logs of your activities in the Pygate webapp.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygate_webapp-0.1.0.tar.gz (218.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pygate_webapp-0.1.0-py3-none-any.whl (223.1 kB view details)

Uploaded Python 3

File details

Details for the file pygate_webapp-0.1.0.tar.gz.

File metadata

  • Download URL: pygate_webapp-0.1.0.tar.gz
  • Upload date:
  • Size: 218.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.8

File hashes

Hashes for pygate_webapp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9a7def650793ff427d016a21d6af3126445ceb4f6af9b512d939788efce92db3
MD5 ee32c3a049583eb58ea9f474c8b1f0dd
BLAKE2b-256 5ef41b4772f7cc94e77ec01078eccfc92865fd41c1519d210f74c4cfa3de36ef

See more details on using hashes here.

File details

Details for the file pygate_webapp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pygate_webapp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 223.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.8

File hashes

Hashes for pygate_webapp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1876b473bf033cb7f1168fe7d94b1e94f838830ce3662391ba0ba9a3d6ca52ff
MD5 6218d76338007091b02b437a60d71544
BLAKE2b-256 826dbd2a4ce5bb3cccbd44254da02d8ca95989c56fe5fbe23e8b3abb96efd4a4

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page