Revision 1148689648dcffda75d3d035e040eb7e2b389ef3 authored by Daniel Himmelstein on 24 September 2018, 01:27:22 UTC, committed by GitHub on 24 September 2018, 01:27:22 UTC
Merges https://github.com/greenelab/manubot/pull/56

* Move code in __init__.py submodule files to util.py.

Enables manubot CLI to be called without running these files and
triggering the imports

Creates slightly more aesthetic import statements such as
`import manubot.cite.util` rather than `import manubot.cite.cite`.

* Configure subcommand argparsers in command.py

Submodules are now lazily imported, when using the manubot CLI.

* Use string function specs for citeproc_retrievers

Enables lazy import of citation_retreiver functions.

* manubot.cite: expose citation_to_citeproc & standardize_citation

Define __all__ in manubot.cite.__init__.py to silence flake8
warning as per https://stackoverflow.com/a/49266468/4651668.
1 parent b46e16b
Raw File
.gitignore
### Python ###
__pycache__/
*.egg-info/
.ipynb_checkpoints
.cache
.pytest_cache/
back to top