Publishing (technical) posts to Blogger or WordPress in your favorite markup language seamlessly without much fuss.
b.py is a Python program which enables Blogger or WordPress bloggers to blog from command-line.
b.py can be installed via pip:
pip install b.py
Or install to user-site, meaning no root required and install at your home directory, be sure to have $HOME/.local/bin in PATH environment variable:
pip install --user b.py
To upgrade:
pip install --upgrade b.py
To uninstall:
pip uninstall b.py
| name | dependency | Python |
|---|---|---|
| Services | ||
| Blogger | Google APIs Client Library for Python: pip install google-api-python-client
|
2 |
| WordPress |
pip install python-wordpress-xmlrpc
|
2 / 3 |
| Handlers | ||
| AsciiDoc |
pip install asciidoc
|
2 |
| HTML | None | 2 / 3 |
| Markdown |
pip install markdown
|
2 / 3 |
| reStructuredText |
pip install distutils
|
2 / 3 |
| Text | None | 2 / 3 |
| Others | ||
| lnkckr |
pip install lnkckr
|
2 / 3 |
| smartypants | smartypants >= 1.8.0: pip install smartypants
|
2 / 3 |
| Tests | ||
| DOC8 | doc8: pip install doc8
|
2 / 3 |
| isort |
pip install isort
|
2 / 3 |
| PEP8 | pep8: pip install pep8
|
2 / 3 |
| Pyflakes |
pip install pyflakes
|
2 / 3 |
| Pylint |
pip install pylint
|
2 / 3 |
| install_test |
|
2 / 3 |
A Service is a blogging platform, such as Blogger or WordPress. For supported services, see bpy.services.
A Handler handles the processing of markup language. For supported handlers, see bpy.handlers.