Skip to main content

Metrique - Client Libraries

Project description

static/src/metrique_logo.png

Metrique

https://travis-ci.org/kejbaly2/metrique.png https://badge.fury.io/py/metrique.png https://pypip.in/d/metrique/badge.png https://d2weczhvl823v0.cloudfront.net/kejbaly2/metrique/trend.png https://coveralls.io/repos/kejbaly2/metrique/badge.png

Python Data Warehouse and Information Platform

metrique provides a simple python API to support ETL workloads for extracting data from disperate sources, iteratively, rapidly and reproducibly, with transparent, historical object persistence and tight clientside integration with popular python scientific computing libraries to faciliate creation and publication of a wide variety of analysis and reports, large and small.

Backends currently supported are as follows:
  • PostgreSQL (sqlalchemy)

  • SQLite (sqlalchemy)

  • MongoDB (pymongo)

Author: “Chris Ward” <cward@redhat.com> Sources: https://github.com/kejbaly2/metrique

Quick Install (auto-deploy -> virtenv)

The instructions given below assume fedora rpm package names:

# prerequisite *os* packages
sudo yum install python python-devel python-setuptools python-pip
sudo yum install openssl git gcc gcc-c++ gcc-gfortran
sudo yum install freetype-devel libpng-devel # matplotlib deps

# optional MongoDB
sudo yum install postgresql postgresql-devel postgresql-server
# optional PostgreSQL
sudo yum install mongodb mongodb-server

# make sure our core package managers are up2date
sudo pip install -U distribute setuptools

# our installation directory should always be a py virtualenv
sudo pip install virtualenv

# get metrique sources
git clone https://github.com/kejbaly2/metrique.git
cd metrique

# deploy metrique master branch into a virtual environment,
# including dependencies.
# NOTE this can take ~5-10 minutes to compile everything from source!
./metrique.py -V ~/metrique.master deploy --all --develop

# activate the virtual environment
source ~/metrique.master/bin/activate

./metrique.py firstboot metrique

# optional: setup default postgresql environment and start
./metrique.py firstboot postgresql
# optional: edit ~/.metrique/postgresql_db/*.conf
./metrique.py postgresql start

# optional: setup default mongodb environment and start
./metrique.py firstboot mongodb
./metrique.py mongodb start

# launch ipython and start mining!

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

metrique-0.3.2-1.tar.gz (68.9 kB view details)

Uploaded Source

File details

Details for the file metrique-0.3.2-1.tar.gz.

File metadata

  • Download URL: metrique-0.3.2-1.tar.gz
  • Upload date:
  • Size: 68.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for metrique-0.3.2-1.tar.gz
Algorithm Hash digest
SHA256 da5a69a61406a97b12b6d9266327b80a393c737f62edc9a7300c437c5c1beb86
MD5 9ccfbede0b4eaefd1ae5366c5c524665
BLAKE2b-256 5a109864d2d7998a7cf53d318a35e0c6c52060469d0cd68cf2e0719b1e718b50

See more details on using hashes here.

Supported by

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