diff --git a/.gitignore b/.gitignore index db4561e..222cbff 100644 --- a/.gitignore +++ b/.gitignore @@ -1,54 +1,4 @@ -# Byte-compiled / optimized / DLL files -__pycache__/ -*.py[cod] - -# C extensions -*.so - -# Distribution / packaging -.Python -env/ -build/ -develop-eggs/ -dist/ -downloads/ -eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -*.egg-info/ -.installed.cfg -*.egg - -# PyInstaller -# Usually these files are written by a python script from a template -# before PyInstaller builds the exe, so as to inject date/other infos into it. -*.manifest -*.spec - -# Installer logs -pip-log.txt -pip-delete-this-directory.txt - -# Unit test / coverage reports -htmlcov/ -.tox/ -.coverage -.cache -nosetests.xml -coverage.xml - -# Translations -*.mo -*.pot - -# Django stuff: -*.log - -# Sphinx documentation -docs/_build/ - -# PyBuilder -target/ +backup.sh +*.pyc +yael/__pycache__ +docs/build diff --git a/LICENSE b/LICENSE index c5e3e5a..8201a4c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015 Alberto Pettarin +Copyright (c) 2015 Alberto Pettarin (alberto@albertopettarin.it) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 7819447..ae78327 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,84 @@ -# yael -yael (Yet Another EPUB Library) is a Python library for reading, manipulating, and writing EPUB 2/3 files +# yael + +**yael** (Yet Another EPUB Library) is a Python library for reading, manipulating, and writing EPUB 2/3 files. + +* Version: 0.0.1 +* Date: 2015-02-26 +* Developer: [Alberto Pettarin](http://www.albertopettarin.it/) ([contact](http://www.albertopettarin.it/contact.html)) +* License: the MIT License (MIT) + + +## Usage + +This library is currently in **development**. + +The reading part is essentially complete, while the editing/writing is missing. + +Please do **NOT** download/use this code in production until it reaches v1.0.0. + +Feedback is welcome at any version number! + +See [`test/publication_test.py`](test/publication_test.py) and +[`test/simpleepub_test.py`](test/simpleepub_test.py) for usage examples. + + +## Documentation + +Online: [http://www.albertopettarin.it/yael/](http://www.albertopettarin.it/yael/) + +Generated from the source (requires sphinx): + +``` +$ cd docs +$ make clean +$ make html +``` + + +## License + +**yael** is released under the terms of the MIT License. See the LICENSE file. + + +## Supported Features + +Parsing nearly all of EPUB 2 and 3 OCF/OPF specifications, including: + +* EPUB 2 `` and `` OPF elements +* EPUB 3 `` refines +* EPUB 3 Media Overlays (SMIL files) +* EPUB 3 Navigation Document (including `