README
This package is used to create technical reports using Jupyter Notebooks and sympy.
Installation
Create Anaconda environment:
conda create -n jupyter-reports python=3.11
conda activate jupyter-reports
Install pandoc:
conda install pandoc
Installation via pip from a wheel file
pip install jupyter-reports-*.whl
or from pypi.org:
pip install jupyter-reports
Documentation
The documentation is online available.
For Developer
The Python package setuptools is used for the package creation and installation of jupyter-reports.
Follow the installation steps above but install jupyter-reports in editable mode
pip install -e .
Be aware that the test are running in the CI with an older pandoc version and therefor tests can fail with the current pandoc version. To avoid this, install the old pandoc version:
conda install "pandoc=2.17"
Debugging
For debugging, coverage must be disabled when running the tests. For this, run pytest with the --no-cov option.
Building the package
Building the source distribution:
python -m build --sdist
Building the wheel:
python -m build --wheel
Build all:
python -m build
Building the Documentation
Building the Documentation (HTML docs):
pip install .
sphinx-build -b html -a docs/ docs/build
For PDF documentation:
sphinx-build -b latex -a docs/ docs/build
cd docs/build/latex
latexmk -pdf jupyter-reports.tex
cd ../../..
Run Tests
Run all tests:
pytest
Run only unit tests:
pytest -m unit_tests
Update translations
python pygettext.py -v -d jupyter_reports -o src/jupyter_reports/i18n/jupyter_reports.pot src/jupyter_reports/*.py
python msgfmt.py src/jupyter_reports/i18n/en/LC_MESSAGES/jupyter_reports
python msgfmt.py src/jupyter_reports/i18n/de/LC_MESSAGES/jupyter_reports
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jupyter_reports-1.0.0-py3-none-any.whl.
File metadata
- Download URL: jupyter_reports-1.0.0-py3-none-any.whl
- Upload date:
- Size: 39.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.10.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0926aaddef4fd9d248af66a1934d6b872e0703b2e09c55054667f674337e38f2
|
|
| MD5 |
915b9a23f271193b69f2b31168154103
|
|
| BLAKE2b-256 |
79b810608074e0caa0c126a0ea0b929719505e6eb1149df8b9731ef2d3354d01
|