Skip to main content

No project description provided

Project description

LETSQL

Contributing Guide

Setting up a development environment

This assumes that you have rust and cargo installed. We use the workflow recommended by pyo3 and maturin.

# fetch this repo
git clone git@github.com:letsql/letsql.git
# prepare development environment (used to build wheel / install in development)
python3 -m venv venv
# activate the venv
source venv/bin/activate
# update pip itself if necessary
python -m pip install -U pip
# install dependencies (for Python 3.8+)
python -m pip install -r requirements-dev.txt
# set up the git hook scripts
pre-commit install

Running the test suite

Install the just command runner, if needed. Download example data to run the tests successfully.

just download-data

Start the postgresql server:

just up

To test the code:

# make sure you activate the venv using "source venv/bin/activate" first
maturin develop
python -m pytest # or pytest

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

letsql-0.1.0.tar.gz (594.9 kB view hashes)

Uploaded Source

Built Distribution

letsql-0.1.0-cp38-abi3-macosx_11_0_arm64.whl (14.2 MB view hashes)

Uploaded CPython 3.8+ macOS 11.0+ ARM64

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