Skip to content

Commit 0650a1a

Browse files
author
AJ Keller
authored
Merge pull request #76 from OpenBCI/1.0.0
1.0.0
2 parents e633bc2 + 3ff1c32 commit 0650a1a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1874
-378
lines changed

.codeclimate.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
languages:
2+
Python: true
3+
exclude_paths:
4+
- "externals/*"
5+
- "images/*"
6+
- "plugins/*"
7+
- "scripts/*"
8+
- "tests/*"

.coveragerc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[report]
2+
include = */openbci/*
3+
omit =
4+
*/python?.?/*
5+
*/site-packages/nose/*
6+
*/plugin_interface.py
7+
*/test_log.py
8+
*/setup.py
9+
*/users.py
10+
*/bluepy/*
11+
*/externals/*
12+
*/images/*
13+
*/plugins/*
14+
*/scripts/*
15+
*/tests/*

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,5 @@ target/
6767
.idea/*
6868
.idea/codeStyleSettings.xml
6969
.idea/vcs.xml
70+
71+
.DS_Store

.travis.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
language: python
2+
env:
3+
- PYTHON=2.7
4+
- PYTHON=3.4
5+
# command to install dependencies\
6+
cache: pip
7+
sudo: false
8+
virtualenv:
9+
system_site_packages: true
10+
addons:
11+
apt:
12+
packages:
13+
- libatlas-dev
14+
- libatlas3gf-base
15+
- libblas-dev
16+
- liblapack-dev
17+
- python-matplotlib
18+
- gfortran
19+
- python-tk
20+
install:
21+
- conda create -n testenv --yes pip python=$PYTHON
22+
- source activate testenv
23+
- conda install --yes --quiet numpy pyserial mock nose coverage
24+
- pip install codecov xmltodict bluepy
25+
- python setup.py build install
26+
27+
# Setup anaconda
28+
before_install:
29+
- wget -q http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
30+
- chmod +x miniconda.sh
31+
- ./miniconda.sh -b -p /home/travis/miniconda
32+
- export PATH=/home/travis/miniconda/bin:$PATH
33+
- conda update --yes --quiet conda
34+
# We need to create a (fake) display on Travis (allows Mayavi tests to run)
35+
- export DISPLAY=:99.0
36+
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1400x900x24 -ac +extension GLX +render -noreset
37+
38+
39+
# command to run tests
40+
script: nosetests --with-coverage --cover-package=openbci
41+
after_success:
42+
- codecov

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
# v1.0.0
2+
3+
### New Features
4+
5+
* High speed mode for WiFi shield sends raw data - #51
6+
* Unit testing with Nosetests
7+
* Continuous Integration with Travis.ci
8+
9+
### Breaking Changes
10+
11+
* Refactored library for pip
12+
* Moved plugins folder into openbci dir so plugins can be imported when installed with pip
13+
14+
15+
## Beta 0
16+
17+
* Adds high speed for Daisy over WiFi - now all boards are supported!
18+
19+
## Alpha 1
20+
21+
* Adds high speed for Ganglion over WiFi
22+
23+
## Alpha 0
24+
25+
* Adds high speed for Cyton over WiFi
26+
27+
# v0.1
128

229
## dev
330

CODE_OF_CONDUCT.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# OpenBCI Python Code of Conduct
2+
3+
## Purpose
4+
5+
It is our hope that any one is able to contribute to OpenBCI Python regardless of their background. Thus, we hope to provide a safe, welcoming, and warmly geeky environment for everybody, regardless of gender, sexual orientation, ability, ethnicity, socioeconomic status, and religion (or lack thereof).
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment
10+
include:
11+
12+
* Using welcoming and inclusive language
13+
* Being respectful of differing viewpoints and experiences
14+
* Gracefully accepting constructive criticism
15+
* Focusing on what is best for the community
16+
* Showing empathy towards other community members
17+
18+
Examples of unacceptable behavior by participants include:
19+
20+
* The use of sexualized language or imagery and unwelcome sexual attention or
21+
advances
22+
* Trolling, insulting/derogatory comments, and personal or political attacks
23+
* Public or private harassment
24+
* Publishing others' private information, such as a physical or electronic
25+
address, without explicit permission
26+
* Other conduct which could reasonably be considered inappropriate in a
27+
professional setting
28+
29+
## Our Responsibilities
30+
31+
Project maintainers are responsible for clarifying the standards of acceptable
32+
behavior and are expected to take appropriate and fair corrective action in
33+
response to any instances of unacceptable behavior.
34+
35+
Project maintainers have the right and responsibility to remove, edit, or
36+
reject comments, commits, code, wiki edits, issues, and other contributions
37+
that are not aligned to this Code of Conduct, or to ban temporarily or
38+
permanently any contributor for other behaviors that they deem inappropriate,
39+
threatening, offensive, or harmful.
40+
41+
## Scope
42+
43+
This Code of Conduct applies both within project spaces and in public spaces
44+
when an individual is representing the project or its community. Examples of
45+
representing a project or community include using an official project e-mail
46+
address, posting via an official social media account, or acting as an appointed
47+
representative at an online or offline event. Representation of a project may be
48+
further defined and clarified by project maintainers.
49+
50+
## Enforcement
51+
52+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
53+
reported by contacting the project team at [[email protected]](mailto:[email protected]). All
54+
complaints will be reviewed and investigated and will result in a response that
55+
is deemed necessary and appropriate to the circumstances. The project team is
56+
obligated to maintain confidentiality with regard to the reporter of an incident.
57+
Further details of specific enforcement policies may be posted separately.
58+
59+
Project maintainers who do not follow or enforce the Code of Conduct in good
60+
faith may face temporary or permanent repercussions as determined by other
61+
members of the project's leadership.
62+
63+
## Attribution
64+
65+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
66+
available at [http://contributor-covenant.org/version/1/4][version]
67+
68+
[homepage]: http://contributor-covenant.org
69+
[version]: http://contributor-covenant.org/version/1/4/

CONTRIBUTING.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Contributing
2+
3+
:tada::clinking_glasses: First off, thanks for taking the time to contribute! :tada::clinking_glasses:
4+
5+
Contributions are always welcome, no matter how small.
6+
7+
The following is a small set of guidelines for how to contribute to the project
8+
9+
## Where to start
10+
11+
### Code of Conduct
12+
This project adheres to the Contributor Covenant [Code of Conduct](CODE_OF_CONDUCT.md).
13+
By participating you are expected to adhere to these expectations. Please report unacceptable behaviour to [[email protected]](mailto:[email protected])
14+
15+
### Contributing on Github
16+
17+
If you're new to Git and want to learn how to fork this repo, make your own additions, and include those additions in the master version of this project, check out this [great tutorial](http://blog.davidecoppola.com/2016/11/howto-contribute-to-open-source-project-on-github/).
18+
19+
### Community
20+
21+
This project is maintained by the [OpenBCI](www.openbci.com) and [NeuroTechX](www.neurotechx.com) community. Join the NeuroTechX Slack to check out our #devices channel, where discussions about OpenBCI takes place.
22+
23+
## How can I contribute?
24+
25+
If there's a feature you'd be interested in building, go ahead and we'll support you as much as we can. When you're finished submit a pull request to the master branch referencing the specific issue you addressed.
26+
27+
If you find a bug, or have a suggestion on how to improve the project, just fill out a [Github issue](../../issues)

0 commit comments

Comments
 (0)