Python programs for Rich Inman's PhD work involving the Coimbra Chamber at UCSD.
Project description
Table of Contents
Description
Back to Table of Contents
Description will go here.
Installation
Run the following to install:
$ pip install coimbra_chamber
Getting Started
Back to Table of Contents
Run an analysis:
>>> import coimbra_chamber as cc
>>> manager = cc.DataManager()
>>> manager.run()
The host, username, and password used to acces the server are all stored in config.ini in the root of the repository. Make sure to edit this file so that it contains your information.
[MySQL-Server] host = your-host user = your-username password = your-password
Python Version
Back to Table of Contents
This module is intended to use Python 3.6. and above.
MySQL Database
Back to Table of Contents
NOTE: In order to run the integration tests, a local version of mySQL must be installed and running.
On OSX you can run the following line to start the mySQL service after installing from LINK
$ sudo launchctl load -F /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist
Stopping the mySQL service:
$ sudo launchctl unload -F /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist
Preferred Way to Run Tests
Back to Table of Contents
1. From the repo directory; i.e., coimbra_chamber .. code-block:: bash
$ python -m pytest tests -xv –cov=coimbra_chamber –cov-report html tests
The above line requires both pytest and pytest-cov are installed.
Images
Back to Table of Contents
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
Built Distribution
Hashes for coimbra_chamber-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ed56f8265b7d8cd9f2fd2b6f7763792cdcfb588f6e2e43a2a5126479149b0d2 |
|
MD5 | b88f9c736dbea32db5185947ff0481dc |
|
BLAKE2b-256 | d6a5fbf0a4bf7444b85fb6ae959b66a02eef1a61e93c15cde002f460e5b4a70c |