Python client for Beneath (https://beneath.dev/)
Project description
Beneath Python Client Library
This repository contains the source code for the Beneath Python library. Learn more about it with these resources:
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 .venv source .venv/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
python
as a workspace root folder. PressCMD+Shift+P
, search forPython: Select Interpreter
, and select the Python 3 executable in the.venv
virtual environment.
Here are some good resources to understand how Python packages work:
- Packaging Python Projects. It describes how to upload packages to PyPI.
- Command Line Scripts. It describes how to include command-line scripts in Python packages.
Publishing to PyPI
- Increment the version number in
beneath/_version.py
- Run
./tools/pypi-publish.sh
- Make sure to appropriately update configuration of recommended and deprecated versions in
beneath/gateway/grpc/client_version.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.