Grabs text from a URL and commits it.
Project description
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:
$ pip3 install curmit
or directly from the source code:
$ git clone https://github.com/jacebrowning/curmit.git $ cd curmit $ python3 setup.py install
Setup
Create a new text file
Add the following somewhere in the first few lines:
curmit: <http://example.com>
with your desired URL. An example using a Google Docs can be found here.
Usage
To update every flagged file with the current URL text, commit, and push:
$ curmit
That’s it!
# Revision History
## 1.0 (unreleased)
Updated html2text to 2015.2.18.
## 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file curmit-1.0b1.tar.gz
.
File metadata
- Download URL: curmit-1.0b1.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b911948fad18ee80ce97258514084dd6d39ec81e09ab58f6cad1fb8fcd3f07a |
|
MD5 | b7ca8be3ffa56d14bfa66d832750b1f8 |
|
BLAKE2b-256 | 68be541e9604550246ad1f060eae12c9b030eec75993a9e4439f17fa07a55f12 |
File details
Details for the file curmit-1.0b1-py3-none-any.whl
.
File metadata
- Download URL: curmit-1.0b1-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac6ee8ee549a3402269b573d48b9047f963d6ac15a521ac979ce4bc5d3ff098b |
|
MD5 | a5d0b46448ff85b26d68c17cacce7f56 |
|
BLAKE2b-256 | 4ca09e912beb72bf1b204c423c43ea19411ae50fc00f105cb6ffa25add335624 |