Skip to main content

Grabs text from a URL and commits it.

Project description

curmit

Build Status
Coverage Status
Scrutinizer Code Quality
PyPI Version
PyPI Downloads

Grabs text from a URL and commits it.

Some possible use cases:

  • collaborate on Markdown/LaTeX using Google Drive
  • incorporate and link to online code snippets
  • archive the history of a webpage

Requirements

  • Python 3.3+
  • Git

Installation

curmit can be installed with pip:

$ pip install curmit

or directly from the source code:

$ git clone https://github.com/jacebrowning/curmit.git
$ cd curmit
$ python setup.py install

Setup

  1. Create a new text file

  2. Add the following somewhere in the first few lines:

    curmit: https://docs.google.com/document/d/<DocumentID>/pub?embedded=true
    

    with your desired URL. An example can be found here.

Usage

To update every flagged file with the current URL text, commit, and push:

$ curmit

That’s it!

Changelog

0.1.3 (2014/12/05)

  • Fixed missing logging messages.

0.1.2 (2014/02/11)

  • Changed versioning method.

0.1.1 (2014/02/11)

  • Switched to a package.

0.1 (2014/02/11)

  • Initial release.

Project details


Download files

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

Files for curmit, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size curmit-0.1.3-py3-none-any.whl (8.1 kB) File type Wheel Python version 3.4 Upload date Hashes View
Filename, size curmit-0.1.3.tar.gz (7.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page