Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 918 Bytes

README.md

File metadata and controls

42 lines (29 loc) · 918 Bytes

propagation

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.

Tests

Development

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

Testing

pytest tests/ # run tests
tox # run tests for all supported Python and MPI versions