laser_cholera package¶
Subpackages¶
- laser_cholera.metapop package
Analyzer
Census
DerivedValues
EnvToHuman
EnvToHumanVax
Environmental
Exposed
HumanToHuman
HumanToHumanVax
Infectious
Parameters
Recorder
Recovered
Susceptible
Vaccinated
get_parameters()
validate_parameters()
- Submodules
- laser_cholera.metapop.analyzer module
- laser_cholera.metapop.census module
- laser_cholera.metapop.derivedvalues module
- laser_cholera.metapop.environmental module
- laser_cholera.metapop.envtohuman module
- laser_cholera.metapop.envtohumanvax module
- laser_cholera.metapop.exposed module
- laser_cholera.metapop.humantohuman module
- laser_cholera.metapop.humantohumanvax module
- laser_cholera.metapop.infectious module
- laser_cholera.metapop.model module
- laser_cholera.metapop.params module
- laser_cholera.metapop.recorder module
- laser_cholera.metapop.recovered module
- laser_cholera.metapop.scenario module
- laser_cholera.metapop.susceptible module
- laser_cholera.metapop.utils module
- laser_cholera.metapop.vaccinated module
Submodules¶
laser_cholera.cli module¶
Module that contains the command line app.
Why does this file exist, and why not put this in __main__?
You might be tempted to import things from __main__ later, but that will cause problems: the code will get executed twice:
When you run python -mlaser_cholera python will execute
__main__.py
as a script. That means there will not be anylaser_cholera.__main__
insys.modules
.When you import __main__ it will get executed again (as a module) because there”s no
laser_cholera.__main__
insys.modules
.Also see (1) from https://click.palletsprojects.com/en/stable/setuptools/
laser_cholera.core module¶
laser_cholera.iso_codes module¶
laser_cholera.sc module¶
- laser_cholera.sc.color(s, fg=None, bg=None, style=None)[source]¶
Add ANSI colors and styles to a string.
- Parameters:
s (str) – String to format.
fg (str|int|tuple) – Foreground color specification.
bg (str|int|tuple( bg) – Background color specification.
style (str) – Style names, separated by ‘+’
- Returns:
Formatted string.