Squirrels is an API framework that lets you create REST APIs for dynamic BI analytics!
First, install the library and all dependencies in a new virtual environment.
# create and activate virtual environment...
pip install -e .To confirm that the setup worked, run this to show the help page for all squirrels CLI commands:
squirrels -hpython setup.py pytest
To learn about using the squirrels framework, check out the documentation website here.
From the root of the git repo, the source code can be found in the squirrels folder and unit tests can be found in the tests folder.
To understand what a specific squirrels command line utility is doing, start from the _command_line.py file as your entry point.
The library version is maintained in both the setup.py file (for the next release or release-candidate version) and the squirrels/_version.py file (for the next release version only).
When a user initializes a squirrels project using squirrels init, the files are copied from the squirrels/package_data/base_project folder. The contents in the database subfolder were constructed from the scripts in the database_elt folder at the top level.
For the Squirrels UI activated by squirrels run, the HTML, CSS, and Javascript files can be found in the static and templates subfolders of squirrels/package_data.
Squirrels is released under the MIT license.
See the file LICENSE for more details.