-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from kb1lqc/develop
Merge `kb1lqc/develop` into `FaradayRF/master`
- Loading branch information
Showing
9 changed files
with
385 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[run] | ||
source=faradayio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
sudo: required | ||
dist: trusty | ||
language: python | ||
python: | ||
- "3.5" | ||
|
||
# Install dependencies | ||
- '3.5' | ||
install: | ||
- pip install -r requirements.txt | ||
- git clone https://github.com/rhjdjong/SlipLib.git | ||
- pip install SlipLib | ||
|
||
# Run tests | ||
- "~/virtualenv/python3.5/bin/pip3 install -r requirements.txt" | ||
script: | ||
- "flake8 --exclude .venv/,docs/,SlipLib/ ." | ||
- pytest tests/ | ||
- "~/virtualenv/python3.5/bin/flake8 --exclude docs/ ." | ||
- sudo ~/virtualenv/python3.5/bin/pytest tests/ | ||
- sudo ~/virtualenv/python3.5/bin/python3 -m coverage run ~/virtualenv/python3.5/bin/pytest | ||
- coveralls | ||
deploy: | ||
provider: pypi | ||
user: "KB1LQC" | ||
password: | ||
secure: EqQ5i1mVqBVOFa/hI7GbEE5MxJuFzV27d90qHfxNxa5lwYqu05mN5uTh3QHdUK75LehJqxvJvb0MNgj3tX5n9Dyef/tbho/YZvKPqdgLiHhIS7zQyqZQ0b3zB0gqG2gxfEZv68qD+EtMYR8UGh2CLEQGQBsG5Qap2VsWMmusS4M52kU321p3nkr8D+PBln9ggG1kEa0y+eQchCr3JbnY4dLb8G0H24yEpt9KSfbulcNFfJW2DP4RQ83zQKU1eU2/gpr6V71WP8YLv9uR8NC1p/iv6WlA1AJUSaHI6KvLZej/0GNz8MxPmqbvTR+6gkAzRoA/rz5ZIe9wgUywCEvMwXERdYT22KB1KhDtwovh+5rj4/DupGYcDb/zxlcuMy6LpDB0/QrWuL2uVudqaEnUpawqUNNCsubifmpkvP+A/iCRez6iMEcdt6nlQZMDlUQgFZsNcvwOVTjWiJF+/UM88StNd0wmkGxkDZWS6nkiWV31sIczFMFgbjAPyoJHS6I3yEwEC9juFjDYYfQ8KI3aKpW+zEFZOT/FjJ/nkqX6gtRQoYfib82wKx3JQezQeR/aTwG5Wx6rlV98ZAenuQyT+t+jAM2dhrzIkspZ0VJMu+I46owHYt7DjE0Y4bj2Wf8SSABUPNuZnZy8FVZpVw+fWVKbBC6C47IQcvHgIJqwdVk= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
See the [FaradayRF contributing guide](https://github.com/FaradayRF/Athena/blob/master/CONTRIBUTING.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,30 @@ | ||
# faradayio | ||
Asynchronous input/output program linking a network interface and UART port for Faraday radios | ||
# FaradayIO | ||
[![Build Status](https://travis-ci.org/FaradayRF/faradayio.svg?branch=master)](https://travis-ci.org/FaradayRF/faradayio) | ||
[![Coverage Status](https://coveralls.io/repos/github/FaradayRF/faradayio/badge.svg?branch=master)](https://coveralls.io/github/FaradayRF/faradayio?branch=master) | ||
|
||
[![Build Status](https://travis-ci.org/FaradayRF/faradayio.svg?branch=master)](https://travis-ci.org/FaradayRF/faradayio) | ||
The `faradayio` module provides a [TUN/TAP](https://en.wikipedia.org/wiki/TUN/TAP) interface which tunnels network traffic in [SLIP](https://en.wikipedia.org/wiki/Serial_Line_Internet_Protocol) format over a serial port. This was originally designed for the [Faraday](https://faradayrf.com/faraday/) radio but the software is radio agnostic. By default this module helps create a TUN/TAP adapter on the `10.0.0.0` network and a simple command line program is also provided to automatically setup a network adapter for a Faraday radio. | ||
|
||
## Installation | ||
Installation is simple. If you are just installing to use with a radio then the pypi installation is all you need. However, if you are looking to develop code then you should install from a GitHub repository clone in editable mode. Please note we suggest installing with a [virtual environment](https://github.com/FaradayRF/faradayio/wiki/Working-With-Python3-Virtual-Environments) in all cases! | ||
### PyPi | ||
To install `faradayio` simply install with `pip3` | ||
``` | ||
pip3 install faradayio | ||
``` | ||
### Git Repository Editable Mode | ||
To install `faradayio` from a git repository in editable mode simple checkout from GitHub and use `pip3` to install in editable mode. | ||
|
||
``` | ||
$ git clone git@github.com:FaradayRF/faradayio.git | ||
$ cd faradayio | ||
$ pip3 install -e . | ||
``` | ||
|
||
## Usage | ||
_Placeholder for command line program completion. This should also have some module use examples as well but that will wait until this module is actually used to create a working program._ | ||
|
||
## Wiki | ||
Please use our [faradayio wiki](https://github.com/FaradayRF/faradayio/wiki) to find helpful tips on installation, setting up a development environment, and running unit tests. | ||
|
||
## FaradayRF | ||
This project is provided by [FaradayRF](https://www.faradayrf.com) as [GPLv3](https://github.com/FaradayRF/faradayio/blob/master/LICENSE) software aimed at the amateur radio (ham radio) community. Please join us on our [Gitter lobby](https://gitter.im/FaradayRF/Lobby) if you have any questions. Send an email to [Support@faradayrf.com](Support@faradayrf.com) if you would like to contact us via email. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
attrs==17.3.0 | ||
configparser==3.5.0 | ||
enum34==1.1.6 | ||
attrs==17.4.0 | ||
flake8==3.5.0 | ||
funcsigs==1.0.2 | ||
mccabe==0.6.1 | ||
pluggy==0.6.0 | ||
py==1.5.2 | ||
pycodestyle==2.3.1 | ||
pyflakes==1.6.0 | ||
pytest==3.3.0 | ||
pyserial==3.4 | ||
pytest==3.3.2 | ||
python-pytun==2.2.1 | ||
scapy-python3==0.23 | ||
six==1.11.0 | ||
pyserial==3.4 | ||
pyserial-asyncio==0.4 | ||
asyncio==3.4.3 | ||
sliplib==0.3.0 | ||
sphinx-rtd-theme==0.2.4 | ||
coveralls==1.2.0 | ||
pytest-cov==2.5.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.