Skip to main content

Flow Immersive python client for datasets API

Project description

Flow python client

A python client for the Flow API.

Installation

First, install python and poetry. If on Windows, ensure you add poetry's bin directory to your PATH environment variable (search for "environment variables" in the start menu).

Then, clone the repository and step into it.

git clone git@bitbucket.org:flowvr/flow-scripts.git
cd flow-scripts

Create Virtual Environment

Create a virtual environment (replace python with python3 or py as per your installation).

python -m venv venv

Activate Virtual Environment

This will activate the virtual environment for the current terminal session. You should see (venv) at the start of your terminal prompt.

On Windows Powershell:

Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
.\venv\Scripts\Activate.ps1

On Windows Command Prompt:

.\venv\Scripts\activate.bat

On Mac/Linux/WSL:

source venv/bin/activate

Install Dependencies

Finally, install the dependencies with poetry.

poetry install

Publishing

To publish a new version of the package, first update the version number in pyproject.toml and flow/__init__.py. Then, run the following commands:

poetry build
poetry publish

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

flowgl-0.1.0.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

flowgl-0.1.0-py3-none-any.whl (2.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page