Python client for Beneath (https://beneath.network/)
Project description
Beneath Python Client Library
This repository contains the source code for the Beneath Python library. Learn more about it with these resources:
- Getting started tutorial
- Reading data from Beneath
- Using the command-line interface
- Writing new analytics to Beneath
Providing feedback
Beneath is just entering public beta, so there's bound to be some rough edges. Bugs, feature requests, suggestions – we'd love to hear about them. To file an issue, click here.
Developing the library
-
Make sure Python 3 is installed and available as
python3
-
Initialize and source the Python virtual environment with:
python3 -m venv .env source .env/bin/activate pip install -r requirements.txt
-
Run tests with
pytest
(though it's sparse on tests at moment) -
Run
deactivate
to exit the virtual environment andsource .env/bin/activate
to re-activate it -
For use in VS Code, open
beneath-python
as a workspace root folder. PressCMD+Shift+P
, search forPython: Select Interpreter
, and select the Python 3 executable in the.env
virtual environment.
Publishing to PyPI
- Increment the version number in
beneath/_version.py
- Run
./pypi-publish.sh
- Make sure to appropriately update configuration of recommended and deprecated versions in
beneath-core/beneath-go/gateway/grpc_server.go
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.