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.

Metadata

Release files for pygate-webapp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pygate-webapp 0.1.0
File Size Uploaded Provenance Actions
pygate_webapp-0.1.0.tar.gz 218.1 kB Without provenance Details for pygate_webapp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pygate-webapp 0.1.0
File Interpreter ABI Platform Actions
pygate_webapp-0.1.0-py3-none-any.whl Python 3 none any Details for pygate_webapp-0.1.0-py3-none-any.whl

Total release size: 441.3 kB

Release files / pygate_webapp-0.1.0.tar.gz

Download URL pygate_webapp-0.1.0.tar.gz
Size 218.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9a7def650793ff427d016a21d6af3126445ceb4f6af9b512d939788efce92db3
BLAKE2b-256 checksum
How to use checksums
5ef41b4772f7cc94e77ec01078eccfc92865fd41c1519d210f74c4cfa3de36ef
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pygate_webapp-0.1.0-py3-none-any.whl

Download URL pygate_webapp-0.1.0-py3-none-any.whl
Size 223.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1876b473bf033cb7f1168fe7d94b1e94f838830ce3662391ba0ba9a3d6ca52ff
BLAKE2b-256 checksum
How to use checksums
826dbd2a4ce5bb3cccbd44254da02d8ca95989c56fe5fbe23e8b3abb96efd4a4
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for pygate-webapp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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