jupyter-book
cookiecutter
jupyter-book | cookiecutter | |
---|---|---|
15 | 56 | |
3,692 | 21,618 | |
0.8% | 0.9% | |
8.5 | 8.7 | |
7 days ago | 2 days ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jupyter-book
-
I don't always use LaTeX, but when I do, I compile to HTML (2013)
Sphinx supports ReStructuredText and Markdown.
MyST-Markdown supports MathJaX and Sphinx roles and directives. https://myst-parser.readthedocs.io/en/latest/
jupyter-book supports ReStructuredText, Jupyter Notebooks, and MyST-Markdown documents:
You can build Sphinx and Jupyter-Book projects with the ReadTheDocs container, which already has LaTeX installed: https://github.com/executablebooks/jupyter-book/issues/991
myst-templates/plain_latex_book:
-
Ask HN: Fastest way to turn a Jupyter notebook into a website these days?
your task is very very broad
you mention you don't want to deal with AWS, if it's because of ad-hoc installation concerns and nothing else you can just run your notebooks in ready-made solutions like Google Colab, or Jupyter-book in Github ( https://github.com/executablebooks/jupyter-book ))
that would cover a lot of use cases right away without next to no learning curve
If you don't want to deal with AWS or similar, in that case:
- if it's a static notebook then you can obviously render it and serve the web content (might seem obvious but needs to be considered)
- if it's dynamic but has light hardware requirements, you can try jupyterlite which runs in the browser and should do a pyodine (webassembly CPython kernel) can do: https://jupyterlite.readthedocs.io/en/latest/try/lab/
- otherwise, you can try exposing a dockerised jupyter env ( as in https://github.com/MKAbuMattar/dockerized-jupyter-notebook/b... ) or even better a nixified one ( https://github.com/tweag/jupyenv )
there might be other approaches I'm missing, but I think that's pretty much it that doesn't entail some proprietary solution or an ad-hoc installation as you've been doing
-
How to raise the quality of scientific Jupyter notebooks
Note: If you want to present a cleaner version of the notebook without assertions, you can use Jupyter book to render it into a site and use the remove-cell tag to omit assertions from the output.
-
Sunday Daily Thread: What's everyone working on this week?
See this thread for example.
-
Are there any frameworks/methodologies/libraries that can help to create a PDF printable professionally looking written report?
And maybe take a look at executablebooks/jupyter-book.
- [P] I Made An Easy-To-Use Python Package That Creates Beautiful Html Reports From Jupyter Notebooks
- RStudio Is Becoming Posit
-
Python toolkits
Our team has transferred from Sphinx for documentation to JupyterBook. There have been some growing pains with it but I prefer the look of the output and being able to play with the examples on Colab or Binder at the click of a button is a great feature.
- Ask HN: Tools to generate coverage of user documentation for code
- Why does [::-1] reverse a list?
cookiecutter
-
Ask HN: How do you bootstrap your software projects?
Sometimes I use this to abstract boilerplate https://github.com/cookiecutter/cookiecutter
It can use a repo as a template.
It supports some interactive questions to choose options but mostly it is jinja templates.
Having libraries would be another option.
-
FastStream: Python's framework for Efficient Message Queue Handling
Install the cookiecutter package using the following command:
-
Template for Django Projects
Consider taking a look at cookiecutter to generate projects from templates. There is also cookiecutter-django. As for your environment variables you should have an example .env file containing all the environment variables required by your project (without setting them) that can be safely pushed into your repository for you and other developers to copy into the actual .env file that'll be used by your project (add this file to .gitignore)
- Rmarkdown/Github project organization question
-
Python Cookiecutter: Streamline Template Projects for Enhanced Developer Experience
The Python Cookiecutter library revolutionizes project development by offering streamlined approach to creating template projects and improving developer experience.
-
What do you use to generate Terraform/Grunt files at scale?
We use cookie cutter templates (the Python project, https://github.com/cookiecutter/cookiecutter ), we prompt for the module & version etc
-
A Python package that has a basic app setup inside it
Why not use cookiecutter or a similar tool designed for making these sorts of project templates?
-
Sub library with useful code
Is it common? I don't know. Is it useful? Absolutely. There is a tool called cookiecutter that allows you to define your own setup. For example, my cookiecutter setup for a python library is here. You can see what it's like by first installing the cookiecutter cli and then running
-
New tool: Souce code generator from a given template
Also cookiecutter.
-
Introducing Visual Cookiecutter: a web UI for instanciating cookiecutter templates
Visual Cookiecutter enhances the functionality of cookiecutter by offering unique features such as required fields, conditional input parameters, optional descriptions, and the ability to fix mistakes easily. This package seamlessly integrates with cookiecutter so that all existing templates work out-of-the-box.
What are some alternatives?
Spyder - Official repository for Spyder - The Scientific Python Development Environment
copier - Library and command-line utility for rendering projects templates.
sphinx-thebe - A Sphinx extension to convert static code into interactive code cells with Jupyter, Thebe, and Binder.
Jinja2 - A very fast and expressive template engine.
MyST-Parser - An extended commonmark compliant parser, with bridges to docutils/sphinx
backstage - Backstage is an open platform for building developer portals
quarto-cli - Open-source scientific and technical publishing system built on Pandoc.
try - Dead simple CLI tool to try Python packages - It's never been easier! :package:
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
bashplotlib - plotting in the terminal
heron
qbatch