Skip to main content

Python programs for Rich Inman's PhD work involving the Coimbra Chamber at UCSD.

Project description

Build Status Code Coverage Badge License Badge

images/coimbra_ucsd_logo.png

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

images/chamber_iso_view.jpg images/chamber_scale.jpg images/chamber_profile.jpg images/chamber_optics.jpg

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

coimbra_chamber-0.0.2.tar.gz (7.9 MB view hashes)

Uploaded Source

Built Distribution

coimbra_chamber-0.0.2-py3-none-any.whl (5.2 MB view hashes)

Uploaded Python 3

Supported by

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