Load YAML data fixtures for SQLAlchemy ✨
Project description
Define data in YAML format and load it into a relational database using SQLAlchemy✨
Features
TODO
Installation
You can add sql-fixture in a few easy steps. First of all, install the dependency:
$ pip install sql_fixture
---> 100%
Successfully installed sql_fixture
Development 🚧
Setup environment 📦
You should create a virtual environment and activate it:
python -m venv venv/
source venv/bin/activate
And then install the development dependencies:
# Install dependencies
pip install -e .[test,lint]
Run tests 🌝
You can run all the tests with:
bash scripts/test.sh
Note: You can also generate a coverage report with:
bash scripts/test_html.sh
Format the code 🍂
Execute the following command to apply pre-commit
formatting:
bash scripts/format.sh
Execute the following command to apply mypy
type checking:
bash scripts/lint.sh
License
This project is licensed under the terms of the MIT license.
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.
Source Distribution
sql_fixture-0.0.1.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for sql_fixture-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa407cb8738826d5922f8d4c51404c49cf1d6ff441e8f333bf4f9b9aeafed71f |
|
MD5 | ca9e4e83e77781d1ef02290cb6955e00 |
|
BLAKE2b-256 | 6d6a0a47aadb402d55e0ce600e446673ff444c51196d7e64f943815a9e4c14eb |