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.

Source Distribution

curmit-0.1.3.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

curmit-0.1.3-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file curmit-0.1.3.tar.gz.

File metadata

  • Download URL: curmit-0.1.3.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for curmit-0.1.3.tar.gz
Algorithm Hash digest
SHA256 24cc8640b7e99779f90be1d8bf0404ec7f04470c2cfcf9ebb5be317716e2c305
MD5 7d80eaf9777581a07a0be15025f44377
BLAKE2b-256 877a93248873d91326b4e4d57da5c93c336a3e52b0fe85b5315c9aa9198d5bd9

See more details on using hashes here.

File details

Details for the file curmit-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for curmit-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6a0ec96e6e9f9062baa303ad190e835f2acef5e640b89d72db13667e2ce09339
MD5 1285b204e690ddf945c2b1b7750786dc
BLAKE2b-256 f260cfc3b71ed51d36c6bf0d1f77e290f0b746ef8ab93c9aaf446f1313279b60

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