A grammar of model analysis
Project description
py_grama
Implementation of a grammar of model analysis (grama). See the documentation for more info.
Overview
Grama is a grammar of model analysis---a domain-specific language embedded in Python that supports building and analyzing models with quantified uncertainties. This language is heavily inspired by the Tidyverse. Grama provides convenient syntax for building a model (with functions and distributions), generating data, and visualizing results. The purpose of this language is to support scientists and engineers learning to handle uncertainty, and to improve documentation + reproducibility of results.
Installation
Quick install:
$ pip install py-grama
For a manual install clone this repo, change directories and run the following to install dependencies. (Note: I recommend Anaconda as a Python distribution; it takes care of most of the dependencies.)
$ git clone git@github.com:zdelrosario/py_grama.git
$ cd py_grama/
$ pip install -r requirements.txt
$ pip install .
Run the following to check your install:
$ python
> import grama
Quick Tour
py_grama
has tools for both building and analyzing models. For a quick look at functionality, see the following notebooks:
Tutorials
The tutorials page has educational materials for learning to work with py_grama
.
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
File details
Details for the file py_grama-0.1.3.tar.gz
.
File metadata
- Download URL: py_grama-0.1.3.tar.gz
- Upload date:
- Size: 623.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaffa851c2b2424a2f981e565f98a57d9d2b6fc9f768c8b88e5f9c7c29d1eef4 |
|
MD5 | c58a592cf4cf1ff014ac51f2b69a50d0 |
|
BLAKE2b-256 | cc4e553d9c3975ff5fe8d68f5ac00892596ff89dbb53e523f38134974d7a7e98 |