A library and command for interacting with the GITenberg books project
Project description
Lets fork Project Gutenberg to github and call it Project GITenberg.
Why?
Project Gutenberg is awesome! The public domain is awesome. Git is awesome.
But Project Gutenberg doesn’t use a version control system. And they have a high barrier to entry to edit books. Aaaand they don’t have a public bug tracking system.
Moving PG to Github helps with these issues, and has many other side-effect benefits.
Usage
This project provides a gitberg command that does the following:
Current development is focused on making the tool usable for arbitrary changes of many repos. This includes:
! gitberg report <bookid> reports an issue in the appropriate GITenberg github repo
! gitberg get <bookid> clones a GITenberg repo to your local system
! gitberg check checks the build process setup and runs tests on the local book
! gitberg tag increments the version number of the book and adds a git tag
Implemented, but not yet ported to be distributable:
gitberg fetch <bookid> fetches books from PG
gitberg make <bookid> makes a local git repo with extra files
gitberg push <bookid> creates a repo on github and pushes to it (one per book)
Project Gutenberg Stats
Estimated 1.6 million files Reported 650 GB total ~40,000 + books
Links to: Home Page - Book Repositories - Issues
Testing
To run project tests do:
python setup.py test
Packaging
This project is available as a python package (not yet published on PyPL). To build this python package, use setup.py
python setup.py sdist
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
File details
Details for the file gitberg-0.0.4.tar.gz
.
File metadata
- Download URL: gitberg-0.0.4.tar.gz
- Upload date:
- Size: 5.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43773037138fb9d1ef1ae71c8fef398df5e6c693c1b1a5281b6f99279e06cbbd |
|
MD5 | 6ecdca6d2f0a2b918e107481fc718335 |
|
BLAKE2b-256 | 1ca2f7baa73e4934358da0751e7f4217f4f1d66f26eb972bb3374c524b98131c |