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.4.tar.gz
(24.8 kB
view hashes)
Built Distribution
Close
Hashes for sciencebeam_utils-0.0.4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17a70c452ea90ec6473fc45c92ffcf525bdbb29abc01cb6d4ca26f441283ef82 |
|
MD5 | 3c1f4a49c86260f583a71014b56f2996 |
|
BLAKE2b-256 | 79fa987da7ce548b488f83ee318d201ddb124eecda5997cea2cef1a3e9a2c29b |