Simulate Twitter message propagation
See setup.txt for installation instructions, and simulation.ipynb for general information about the library.
Run bin/run --help
for usage information.
Install development environment:
conda env create -f environment-dev.yml
conda activate snsim
conda config --env --add channels conda-forge
flit install --symlink
Build Package in dist/
:
flit build --setup-py
Update Conda environment files after changing requirements:
beni --deps=production pyproject.toml >environment.yml
beni pyproject.toml >environment-dev.yml
beni pyproject.toml --extras test # For test environments
pytest tests/ # run tests
tox # run tests for all supported Python and MPI versions