Introduction

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.

Installation

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

Dependencies

name dependency Python
Services
Blogger

Google APIs Client Library for Python:

pip install google-api-python-client
2
WordPress

python-wordpress-xmlrpc:

pip install python-wordpress-xmlrpc
2 / 3
Handlers
AsciiDoc

AsciiDoc:

pip install asciidoc
2
HTML None 2 / 3
Markdown

Markdown:

pip install markdown
2 / 3
reStructuredText

reStructuredText:

pip install distutils
2 / 3
Text None 2 / 3
Others
lnkckr

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

isort:

pip install isort
2 / 3
PEP8

pep8:

pip install pep8
2 / 3
Pyflakes

pyflakes:

pip install pyflakes
2 / 3
Pylint

pylint:

pip install pylint
2 / 3
install_test 2 / 3

Services and Handlers

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.

Table Of Contents

Previous topic

b.py documentation

Next topic

Tutorial

This Page