All Projects → damontallen → Ipython Quick Ref Sheets

damontallen / Ipython Quick Ref Sheets

This is ongoing work developing quick reference sheets for IPython

Projects that are alternatives of or similar to Ipython Quick Ref Sheets

Easy slam tutorial
首个中文的简单从零开始实现视觉SLAM理论与实践教程,使用Python实现。包括:ORB特征点提取,对极几何,视觉里程计后端优化,实时三维重建地图。A easy SLAM practical tutorial (Python).图像处理、otsu二值化。更多其他教程我的CSDN博客
Stars: ✭ 137 (-0.72%)
Mutual labels:  jupyter-notebook
Automate The Boring Stuff With Python Solutions
Solutions for Automate the Boring Stuff with Python
Stars: ✭ 136 (-1.45%)
Mutual labels:  jupyter-notebook
Ethnicolr
Predict Race and Ethnicity Based on the Sequence of Characters in a Name
Stars: ✭ 137 (-0.72%)
Mutual labels:  jupyter-notebook
Deep Reinforcement Stock Trading
A light-weight deep reinforcement learning framework for portfolio management. This project explores the possibility of applying deep reinforcement learning algorithms to stock trading in a highly modular and scalable framework.
Stars: ✭ 136 (-1.45%)
Mutual labels:  jupyter-notebook
Causalgraphicalmodels
Causal Graphical Models in Python
Stars: ✭ 137 (-0.72%)
Mutual labels:  jupyter-notebook
Fm tensorflow
Factorization Machines implementation with Tensorflow
Stars: ✭ 138 (+0%)
Mutual labels:  jupyter-notebook
Rapids Single Cell Examples
Examples of single-cell genomic analysis accelerated with RAPIDS
Stars: ✭ 138 (+0%)
Mutual labels:  jupyter-notebook
Imageaugmentation
Image augmentation for randomly rotating, shearing, translating and changing lighting conditions.
Stars: ✭ 138 (+0%)
Mutual labels:  jupyter-notebook
Generative adversarial networks 101
Keras implementations of Generative Adversarial Networks. GANs, DCGAN, CGAN, CCGAN, WGAN and LSGAN models with MNIST and CIFAR-10 datasets.
Stars: ✭ 138 (+0%)
Mutual labels:  jupyter-notebook
Machine Learning And Data Science
This is a repository which contains all my work related Machine Learning, AI and Data Science. This includes my graduate projects, machine learning competition codes, algorithm implementations and reading material.
Stars: ✭ 137 (-0.72%)
Mutual labels:  jupyter-notebook
Minifold
MiniFold: Deep Learning for Protein Structure Prediction inspired by DeepMind AlphaFold algorithm
Stars: ✭ 136 (-1.45%)
Mutual labels:  jupyter-notebook
Indaba 2018
Practical Notebooks for the Deep Learning Indaba 2018
Stars: ✭ 138 (+0%)
Mutual labels:  jupyter-notebook
Nndl Codes
Sample Codes for NNDL
Stars: ✭ 138 (+0%)
Mutual labels:  jupyter-notebook
Dab And Tpose Controlled Lights
Control your lights with dab and t-pose, duh
Stars: ✭ 137 (-0.72%)
Mutual labels:  jupyter-notebook
Openff Toolkit
The Open Forcefield Toolkit provides implementations of the SMIRNOFF format, parameterization engine, and other tools. Documentation available at http://open-forcefield-toolkit.readthedocs.io
Stars: ✭ 138 (+0%)
Mutual labels:  jupyter-notebook
Cnn Audio Denoiser
Tensorflow 2.0 implementation of the paper: A Fully Convolutional Neural Network for Speech Enhancement
Stars: ✭ 138 (+0%)
Mutual labels:  jupyter-notebook
Symbiflow Arch Defs
FOSS architecture definitions of FPGA hardware useful for doing PnR device generation.
Stars: ✭ 137 (-0.72%)
Mutual labels:  jupyter-notebook
Ipytracer
📊 Algorithm Visualizer for IPython/Jupyter Notebook
Stars: ✭ 138 (+0%)
Mutual labels:  jupyter-notebook
Recommender live
Stars: ✭ 138 (+0%)
Mutual labels:  jupyter-notebook
Gossiping Chinese Corpus
PTT 八卦版問答中文語料
Stars: ✭ 137 (-0.72%)
Mutual labels:  jupyter-notebook

IPython-quick-ref-sheets

This project represents ongoing work developing quick reference sheets for IPython. It is an attempt to make several versions of the %quickref IPython magic output for ease of access.

The final goal is to have versions that include .png, .html, .svg, and .pdf formats.

SVG Images

Basic Commands

Basic help

Magic Commands

Magic help

The IPython Notebook used to develop the SVG images is here. It contains a custom magic command to grab the text of the %quickref magic command. However, the libraries that the notebook references are only in this git page.

(FYI The SVG files above are also available for downloading on this github.io page.)

Image Files

These image files are generated using the following commands in a Linux terminal:

  • rsvg-convert "Basic_Help.svg" > Basic_Help.png
  • rsvg-convert "Magic_only.svg" > Magic_only.png

My first experience with this technique was in the development of some gifs here using this notebook (references within).

ScreenShot ScreenShot2

HTML Help Tables

The HTML versions of the quick reference tables above were generated in the IPython notebook. They render correctly in Chrome, but they do not in Firefox.
Despite this problem, for now, these HTML files could be modified by someone with more experience to make them a good reference. (I believe the problem is due to not specifying the font family but I haven't tried the modification yet.)

PDF Files

The pdf versions were generated by printing out the HTML rendering from within Chrome Firefox. Unfortunately, during the print process the color for the title and the headers was removed from the pdfs. In the future I would like to automate this conversion from within the IPython notebook, or just Python with the aid of a HTML to pdf library. I have not tried generating the pdf using the SVG images yet. Lately I have been experimenting with LaTex and believe that this would be a good way to generate the pdfs.

Notebook

The IPython notebook that generated the HTML files can be viewed here. It first takes the %quickref text and converts it to a dictionary with labels for the title, headings, and comment lines, as well as the multiline examples. A copy of the dictionary is saved as a binary pickle and can be downloaded from this git. The notebook goes on the generate HTML representations of the quickref text.

Quick Reference Text

Originally the text file that this work is based on was generated from the IPython source code. This was done by downloading a copy of the source code from here and inserting the modification the "modification_code.py" code into the "basic.py" file. It was inserted around line 380 to be able to add the %quickref_file magic command.

Now a custom magic command, added at runtime in an IPython notebook, is used to generate the text.
Since the magic is now used at run time, the resulting text no longer needs to be saved to a file. The magic and insertion code is in the SVG notebook.

Other Thoughts

Another aproach was taken by Thomas Kluyver in which he manually developed a quick referance sheet using Scribus. It looks better than the standard table currently rendered so in the future I would like to switch to that style. I encourage anyone who wants to make that change, or any other improvements, to do so. FYI, Inkscape is a open source vector graphics editor that could also be used to edit the SVG images above.

The use of the webkit library may be a way around using Chrome to generate the png versions.

This IPython Notebook contains experiemntal results building tables from SVG parts.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].