php, Python & Coding.
I enjoy working in html, css, php, mysql and python. I don’t pretend to be a programmer but can work with existing material and build basic apps and programs from scratch.
Projects
ebook development
I have been working on a series of python scripts to a) remediate old epub2 ebooks, b) clean up after InDesign exports, and c) most importantly bring them up to current accessibility standards. Currently they are a work-in-progress.
Some github projects:
- fixed epub creator — this collection of python scripts tales a pdf file exported from InDesign and creates a fairly clean fixed layout epub that conforms as much as possible to accessibility standards. It is pretty close to finished although it needs some tweaks
-
epub-python-scripts
— this is a big collection of python scripts to open and change epub files after they have been exported from InDesign. A lot of the functions are quirky enough I haven’t uploaded them, but on a daily basis I use:
- open and save epubs
- clean InDesign cruft
- assign sections, aria roles, metadata, figures etc. from a cleaned epub file
- build glossary links
- build index
- import and export alt text
- increment aside IDs
Sailing Log
A python script that searches emails and auto posts contents to an
online boat log
.
Log Entry
Trip notes here.
-----
At 04/24/2020 10:40 (pdt) our position was 49°50.1068′N,124°31.6473’W
Destination: Desolation Sound
From: Smuggler Cove
To: Lund
Distance: 0
Emails that are sent in a proper format are automatically added to a mysql database to be displayed on the boatlog website.
Calibre Book Journal
A python script that scrapes a local copy of Calibre-Web and returns a “read” book list in the form of a markdown file, which is in turn posted on a wordpress blog organized by year.
BlackBoard Quiz Maker
The Blackboard LMS (Learning Management System) allows for imported quizzes. This php/mysql site allows quizes to be built off-line and then imported into blackboard. It features multiple question types and an export feature.
ETS Bus Fares
My partner wanted a quick way to check whether it was more economical to buy a monthly bus pass or just purchase individual tickets in any give month. This app calculates the amount of working days and returns the costs/day.
Built with python/flask, containerized and hosted using Docker.
Boat Search
github.com/b-t-k/Search-boatsites-flask-app
This is a complete flask/python web app that searches several boat for sale sites and returns aggregated results for different regions.
The app was originally hosted using gunicorn / nginx on a Google Cloud virtual server but has since transitioned to another server.
PHP/Mysql
See my web design page for work I have done with database-driven php/mysql sites.
