A Flask Web Application for PyGate gRPC client (Powergate)
Project description
pygate-webapp
A Filecoin Flask template application for Python developers using Textile.io's Powergate and the Pygate gRPC client.
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 theconfig.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.
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
pygate_webapp-0.0.5.tar.gz
(9.8 kB
view hashes)
Built Distribution
Close
Hashes for pygate_webapp-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d990a7190cbd400e3e7adee8dccc841d32dc41b927130027048b9187628b46cd |
|
MD5 | 53aa6d74bd456cd103232cda0baf576f |
|
BLAKE2b-256 | a3a28a06b84ba323766e5c37384c2b58d55b49050721001da46cc4c6733034ce |