https://github.com/deathbeds/deathbeds.github.io
rest in pixels
https://github.com/deathbeds/deathbeds.github.io
Last synced: 10 months ago
JSON representation
rest in pixels
- Host: GitHub
- URL: https://github.com/deathbeds/deathbeds.github.io
- Owner: deathbeds
- License: bsd-3-clause
- Created: 2018-01-24T21:49:32.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-03-17T06:15:34.000Z (almost 7 years ago)
- Last Synced: 2025-02-02T22:36:58.867Z (11 months ago)
- Language: Jupyter Notebook
- Homepage: https://deathbedsgithubio.readthedocs.io/en/latest/blog/
- Size: 15.4 MB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: readme.ipynb
- License: LICENSE
Awesome Lists containing this project
README
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# `REST💀IN💀PXXXLS`\n",
"\n",
"[Blog](http://nbviewer.jupyter.org/github/deathbeds/deathbeds.github.io/tree/master/deathbeds/) | [](https://travis-ci.org/deathbeds/deathbeds.github.io) | [Github](https://github.com/deathbeds) |[](https://gitter.im/deathbeds/Lobby)\n",
"\n",
"## Deathbeds is a coding collective that values\n",
"\n",
"### Data\n",
"### Testing\n",
"### Documentation\n",
"### The Scientific Method\n",
"### The Laws of Thermodynamics\n",
"### Making the Best Entropy You Can\n",
"\n",
"_**We are not original, we just do things different. We are learning to be ourselves in data.**_\n",
"\n",
"## [New contributors are always welcome.](https://github.com/deathbeds/deathbeds.github.io)\n",
"\n",
"Contribute cool, fun, or useless notebooks to the deathbeds blog. The notebooks must contain:\n",
"\n",
"* Markdown cells\n",
"* Code cells\n",
"* [Restart and run all](http://nbviewer.jupyter.org/github/deathbeds/deathbeds.github.io/blob/master/deathbeds/2018-07-31-Testing-notebooks.ipynb)\n",
"* A story"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Developer\n",
"\n",
"The readme file contains project level actions to test and use deathbeds."
]
},
{
"cell_type": "code",
"execution_count": 21,
"metadata": {},
"outputs": [],
"source": [
" parser = __import__('argparse').ArgumentParser()\n",
" parser.add_argument('-t', '--test', help=\"Test deatbheds\", action='store_true')\n",
" parser.add_argument('-w', '--watch', help=\"Interactively test a post in deathbeds\" ,action='store_true')\n",
" parser.add_argument('-e', '--labextensions', help=\"Install the deathbeds curated labextensions\" ,action='store_true')\n",
" parser.add_argument('-c', '--convert', action='store_true')\n",
" options = parser.parse_args(__import__('sys').argv[1:] if globals().get('__file__', None) else [])\n",
"\n",
" from os import sep; from pathlib import Path; import deathbeds"
]
},
{
"cell_type": "code",
"execution_count": 22,
"metadata": {},
"outputs": [],
"source": [
" if __name__ == \"__main__\":\n",
" options = parser.parse_args(__import__('sys').argv[1:] if globals().get('__file__', None) else _opts)\n",
" from IPython import get_ipython\n",
" if options.test:\n",
" !ipython -m deathbeds.tests \n",
" if options.watch:\n",
" !ipython -m deathbeds.2018-07-15-Pytest-watchmedo -- --command \"'ipython -m deathbeds.tests -- ${watch_src_path}'\"\n",
" !watchmedo tricks tricks.yaml\n",
" if options.convert: \n",
" !jupyter nbconvert --to markdown --MarkdownExporter.exclude_input=True readme.ipynb\n",
" \n",
" if options.labextensions:\n",
" labextensions = (Path(deathbeds.__file__).parent.parent / 'labextensions.txt').read_text().replace('\\n', ' ')\n",
" !jupyter labextension install $labextensions --no-build\n",
" !jupyter lab build --dev"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.6"
}
},
"nbformat": 4,
"nbformat_minor": 2
}