Skip to main content

An untested mess of tools for writing your Ph.D. in IPython

Project description

# What is PhIDE?

A misnomer and a mess. The IDE I want for doing knowledge work doesn’t exist. IPython (i.e [Jupyter](http://jupyter.org/)) does a lot of what I want. But, for say, writing a dissertation, there are missing tools. Right now, PhIDE is me writing little utilities that work good enough, kicking the quality can down the road. You probably shouldn’t use this library yet. I mean, it works, but it’s not systematically tested. (But, I do use it daily, and I have not hand any accidental rm -rf / incidents – yet.)

# Installation

$ pip install phide

# Commands

## phide-simple-html

### What it does now?

Recursively walks the file system – starting from the current directory – for IPython notebooks. Following the PhIDE convention, it skips processing of files or directories which start with a . or _. Ordering is lexicographic. (I use a convention of naming notebooks as ###_name.ipynb.) When it reads a markdown cell, it concatenates it to the output Pandoc flavored markdown file (_phide_output/extract.md). When it encounters an SVG output, it serializes it (to _phide_output/media/#.svg) and insert an image into the markdown file. Then, it runs pandoc.

Usage: $ phide-simple-html

### What should it do?

I need to add support for pandoc compilation into alternative formats (e.g. latex). I especially want support for citations via IPython’s data-cite convention.

It should also support more than just SVG files. And, I want it to support latex-style referencing and figures.

Oh, and templating.

## phide-paper-sync

### What it does now?

Often, I want to read PDF files on my iPad using GoodReader. GoodReader offers DropBox synchronization. This script syncs PDF files used in my dissertation with those on a Dropbox. It obeys the following rules:

  1. If the dropbox file is newer, overwrite the dissertation one.

  2. If the dissertation file is newer, overwrite the dropbox one.

  3. If there is no equivalent file in the dropbox directory, copy it.

Note, this script “unpacks” _cited_docs. For example, if you are working on your thesis you may have a: /thesis/intro/_cited_docs/transformative_hermeneutics.pdf it syncs with /sync_folder/intro/transformative_hermeneutics.pdf.

WARNING: Modern Academia is a mostly a closed-source community, built upon the idea that sharing is bad (for your CV). Part of this paradigm depends upon journals, or tenure justifiers. These institutions do not like it when you share research, and will prosecute those who do. Remember to add `_citeddocs` to your `.gitignore`.

Usage: $ phide-paper-sync sync-dir

### What should it do?

Probably something more robust than modified time comparisons. That seems dangerous. Also, I want it to be executable correctly from any project sub-dir, like git.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PhIDE-0.0.5.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file PhIDE-0.0.5.tar.gz.

File metadata

  • Download URL: PhIDE-0.0.5.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PhIDE-0.0.5.tar.gz
Algorithm Hash digest
SHA256 b66ed1fe312939f3679e06a1a3f1d14db7831bb7925c55f2805b3b26834d95dd
MD5 96c324cbb154d91137dd0fdc34d8f258
BLAKE2b-256 050bd891c93ca154d60af2521af9bde9c0a8309cdbf07ca44cbf2de54570e9ba

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page