kopia lustrzana https://github.com/glidernet/ogn-python
commit
ab69526d4c
|
@ -1,14 +1,11 @@
|
||||||
# OGN stuff
|
# OGN stuff
|
||||||
ogn.db
|
*.db
|
||||||
beacons.db
|
*.log
|
||||||
|
|
||||||
# Byte-compiled / optimized / DLL files
|
# Python
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
|
|
||||||
# C extensions
|
|
||||||
*.so
|
|
||||||
|
|
||||||
# Distribution / packaging
|
# Distribution / packaging
|
||||||
bin/
|
bin/
|
||||||
build/
|
build/
|
||||||
|
@ -24,32 +21,12 @@ var/
|
||||||
.installed.cfg
|
.installed.cfg
|
||||||
*.egg
|
*.egg
|
||||||
|
|
||||||
# Installer logs
|
|
||||||
pip-log.txt
|
|
||||||
pip-delete-this-directory.txt
|
|
||||||
|
|
||||||
# Unit test / coverage reports
|
# Unit test / coverage reports
|
||||||
.tox/
|
|
||||||
.coverage
|
.coverage
|
||||||
.cache
|
.cache
|
||||||
nosetests.xml
|
nosetests.xml
|
||||||
coverage.xml
|
coverage.xml
|
||||||
|
|
||||||
# Translations
|
|
||||||
*.mo
|
|
||||||
|
|
||||||
# Mr Developer
|
|
||||||
.mr.developer.cfg
|
|
||||||
.project
|
|
||||||
.pydevproject
|
|
||||||
|
|
||||||
# Rope
|
|
||||||
.ropeproject
|
|
||||||
|
|
||||||
# Django stuff:
|
|
||||||
*.log
|
|
||||||
*.pot
|
|
||||||
|
|
||||||
# Sphinx documentation
|
# Sphinx documentation
|
||||||
docs/_build/
|
docs/_build/
|
||||||
|
|
||||||
|
@ -58,4 +35,7 @@ docs/_build/
|
||||||
*.swo
|
*.swo
|
||||||
|
|
||||||
# Python virtualenv
|
# Python virtualenv
|
||||||
env
|
env/
|
||||||
|
|
||||||
|
# Celery beat
|
||||||
|
celerybeat-schedule
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
# CHANGELOG
|
||||||
|
|
||||||
|
## 0.2
|
||||||
|
- Changed database schema.
|
||||||
|
- Changed aprs app name to 'ogn-gateway-python'.
|
||||||
|
- Moved repository to github-organisation glidernet.
|
||||||
|
- Added exception handling to the packet parser.
|
||||||
|
- Added some tests for ogn.gateway.client.
|
||||||
|
- Added setup.py to build this package.
|
||||||
|
- Added configuration via python modules.
|
||||||
|
- Added scheduled tasks with celery.
|
||||||
|
- Renamed command line option `db.updateddb` to `db.import_ddb`.
|
||||||
|
- Added command line options `db.drop`, `db.import_file`, `db.upgrade`,
|
||||||
|
`logbook.compute` and `show.devices.stats`.
|
||||||
|
|
||||||
|
## 0.1
|
||||||
|
Initial version.
|
|
@ -8,8 +8,9 @@
|
||||||
A python module for the [Open Glider Network](http://wiki.glidernet.org/).
|
A python module for the [Open Glider Network](http://wiki.glidernet.org/).
|
||||||
The submodule 'ogn.gateway' is an aprs client which could be invoked via a CLI
|
The submodule 'ogn.gateway' is an aprs client which could be invoked via a CLI
|
||||||
or used by other python projects.
|
or used by other python projects.
|
||||||
The CLI allows to save all received beacons into a
|
The CLI allows to save all received beacons into a database with [SQLAlchemy](http://www.sqlalchemy.org/).
|
||||||
[sqlite](https://www.sqlite.org/)-database with [SQLAlchemy](http://www.sqlalchemy.org/).
|
The [sqlite](https://www.sqlite.org/)-backend is sufficient for simple testing,
|
||||||
|
but some tasks (e.g. logbook generation) require a proper backend like [postgresql](http://www.postgresql.org/).
|
||||||
An external python project would instantiate ogn.gateway and register a custom callback,
|
An external python project would instantiate ogn.gateway and register a custom callback,
|
||||||
called each time a beacon is received.
|
called each time a beacon is received.
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue