ScienceBeam Utils
Project description
ScienceBeam Utils
Provides utility functions to ScienceBeam projects.
Pre-requisites
- Python 2.7 or 3 (Apache Beam may not fully support Python 3 yet)
- Apache Beam
- Docker and Docker Compose
You can run the following to install Apache Beam:
pip install -r requirements.prereq.txt
Dependencies
Dependencies not already mentioned in the prerequisites can be installed by running:
pip install -r requirements.txt
and:
pip install -r requirements.dev.txt
Tests
Unit tests are written using pytest. Run for example pytest
or pytest-watch
.
Some tests are marked with slow. You could exclude them when running the tests. For example:
pytest-watch -- -m "not slow"
Docker
Build container and run project tests:
docker-compose build && \
docker-compose run --rm sciencebeam-utils ./project_tests.sh && \
echo "exit code: $?"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sciencebeam_utils-0.0.5.tar.gz
(25.0 kB
view hashes)
Built Distribution
Close
Hashes for sciencebeam_utils-0.0.5-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cb847fd3735355226c8caadcd19eb2c7c734adea4c7510ad85d75379ae6a336 |
|
MD5 | 3a8cea644c549f5f38ff9fdc295589ec |
|
BLAKE2b-256 | ce455ad195276a2f46a51884dcff9917cb103822041b826f03f1de6d9e0fb6c8 |