Skip to content

butla/PyDAS

Repository files navigation

PyDAS

SnapCI Build Coverage Status Requirements Status

Python rewrite of TAP's DAS. Functionally the same as DAS from 2016-03-20 (version 0.5.8).

It has full test coverage and some useful integration tests. It doesn't use Kafka, because it doesn't need to.

Deployment

  • ./build_for_cf.sh
  • cf push

Testing

  • Install Docker
  • Preparing a virtual environment, running the tests and quality check: tox
  • Running just the tests without quality checks (from virtualenv): py.test tests/

Other development activities

  • Activating virtualenv created by Tox: source .tox/py34/bin/activate
  • Bumping the version: (while in virtualenv) bumpversion --alow-dirty patch
  • Running the application: (you need to configure addresses in the script first) ./run_app.sh

Dependency management

Due to shenanigans with offline deployments the requirements need to go into two files:

  • Add dependencies that need to compiled on the target platform and their dependencies requirements-native.txt.
  • Pure Python dependencies should go to requirements-normal.txt.
  • Running ./build_for_cf.sh will generate requirements.txt that can be used to deploy the app.

About

Python Data Acquisition Service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published