Tag: python
This is the second in my series on using Curio to build an event-driven simulator for
hardware processes. (see Part 1 for the first article)
1 Enhancing the Simulator Framework
Now, we're going to make this framework a little bit more robust and less verbose
when defining the system. In …
This is the second in my series on using Curio to build an event-driven simulator for hardware processes. (see Part 1 for the first article)
1 Enhancing the Simulator Framework
Now, we're going to make this framework a little bit more robust and less verbose when defining the system. In …
In this post, the first in a series of three, I'm going to show you how to
build an elegant simulator of a concurrent system using the amazing Curio
library from David Beazley that's built on Python 3.6's async coroutine
features. I hope it'll provide a nice intro to …
In this post, the first in a series of three, I'm going to show you how to build an elegant simulator of a concurrent system using the amazing Curio library from David Beazley that's built on Python 3.6's async coroutine features. I hope it'll provide a nice intro to …
This post describes some of my experiences writing a python extension for Moneydance, a cross-platform
personal finance manager (an alternative to Intuit Quicken). I was originally attracted to this product
because it runs on a Mac (albeit using a Java look and feel), uses Direct Connect to download transactions from …
This post describes some of my experiences writing a python extension for Moneydance, a cross-platform personal finance manager (an alternative to Intuit Quicken). I was originally attracted to this product because it runs on a Mac (albeit using a Java look and feel), uses Direct Connect to download transactions from …
07 Nov
PhotoKeeper: Usage guide
This script will take a source directory (say the contents of a flash card from a camera),
scan all the image/video file EXIFs, and sort them into date-based folders in a user-specified
directory. It will optionally only copy files that have not already been copied (deduplication per
folder). Photo …
07 Nov
This script will take a source directory (say the contents of a flash card from a camera), scan all the image/video file EXIFs, and sort them into date-based folders in a user-specified directory. It will optionally only copy files that have not already been copied (deduplication per folder). Photo …
Currently, this program supports downloading transactions from Maryland's 529 College Savings plans and exporting to QIF, for import into your financial software like Quicken,
Banktivity, or MoneyDance. An OFX/QFX plugin is also in the works.
- Free and open-source software: ASL2 license
- Blog: http://virantha.com/category/projects/funds_gather
- Documentation …
Currently, this program supports downloading transactions from Maryland's 529 College Savings plans and exporting to QIF, for import into your financial software like Quicken, Banktivity, or MoneyDance. An OFX/QFX plugin is also in the works.
- Free and open-source software: ASL2 license
- Blog: http://virantha.com/category/projects/funds_gather
- Documentation …
Both for my work and personal use, I tend to develop many command-line Python
scripts that are very data-driven and configurable. In Python, it's pretty
trivial to use argparse to support complex argument and option structures, and
then use the integration with configparser to allow one to write files that …
Both for my work and personal use, I tend to develop many command-line Python scripts that are very data-driven and configurable. In Python, it's pretty trivial to use argparse to support complex argument and option structures, and then use the integration with configparser to allow one to write files that …
07 Apr
OneResumé - Usage Guide
OneResumé is a data-driven resumé generator for text and Microsoft Word
documents. Write your resumé content in YAML and quickly and easily generate
multiple versions and formats of your resumé using this program.
- Free and open-source software: ASL2 license
- Blog: http://virantha.com/category/oneresume.html
- Documentation: http://virantha.github …
07 Apr
OneResumé is a data-driven resumé generator for text and Microsoft Word documents. Write your resumé content in YAML and quickly and easily generate multiple versions and formats of your resumé using this program.
- Free and open-source software: ASL2 license
- Blog: http://virantha.com/category/oneresume.html
- Documentation: http://virantha.github …
Recently, I needed a way to detect if a color scanned image was actually color or just contained greyscale/BW
content. I also wanted to detect if an image was "blank", or just a continuous shade of one color. I couldn't
really find a simple solution on the web, so …
Recently, I needed a way to detect if a color scanned image was actually color or just contained greyscale/BW content. I also wanted to detect if an image was "blank", or just a continuous shade of one color. I couldn't really find a simple solution on the web, so …
30 Mar
ScanPDF - Usage guide
If you're looking for a simple way to use a multi-page scanner and get your
document into a PDF in Linux without any proprietary or commercial software,
then ScanPDF might be the solution. I wrote it to quickly take the Linux SANE
scanner system output image files, and process them …
30 Mar
If you're looking for a simple way to use a multi-page scanner and get your document into a PDF in Linux without any proprietary or commercial software, then ScanPDF might be the solution. I wrote it to quickly take the Linux SANE scanner system output image files, and process them …
Recently updated to Xcode 5.1 on my Mavericks install, and when I went to update a few Python PyPI packages
like reportlab and fabric, I started hitting this error on the compile step:
clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
After a little bit of googling, it seems like the …
Recently updated to Xcode 5.1 on my Mavericks install, and when I went to update a few Python PyPI packages like reportlab and fabric, I started hitting this error on the compile step:
clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
After a little bit of googling, it seems like the …
10 Jan
AirFrame: Usage guide
Download images from an authenticated Flickr account (or local filesystem) and
push them wirelessly to a Toshiba FlashAir Wifi SD card mounted in a digital
photo frame.
- Free software: ASL2 license
- Documentation: http://virantha.github.io/airframe/html
- Source: http://github.com/virantha/airframe
Features
- Authenticates to Flickr to get …
10 Jan
Download images from an authenticated Flickr account (or local filesystem) and push them wirelessly to a Toshiba FlashAir Wifi SD card mounted in a digital photo frame.
- Free software: ASL2 license
- Documentation: http://virantha.github.io/airframe/html
- Source: http://github.com/virantha/airframe
Features
- Authenticates to Flickr to get …
I'm going to describe AirFrame, a Python script I wrote that's available
on GitHub under ASL2 open-source, that can automatically pull photos
matching a given set of tags from an authorized Flickr account, and
wirelessly push them to a WiFi enabled SD card sitting inside an
inexpensive digital photo frame …
I'm going to describe AirFrame, a Python script I wrote that's available on GitHub under ASL2 open-source, that can automatically pull photos matching a given set of tags from an authorized Flickr account, and wirelessly push them to a WiFi enabled SD card sitting inside an inexpensive digital photo frame …
Inspired by this article on Python Weekly, I thought I'd look into
deploying a simple hello world application to Heroku, built on the Flask
micro framework.
Here's my workflow:
Create a new directory and …
Inspired by this article on Python Weekly, I thought I'd look into deploying a simple hello world application to Heroku, built on the Flask micro framework.
Here's my workflow:
Create a new directory and …
I managed to piece together how to attach a new PDF file to an Evernote
note using their Python API, so I thought it might be useful to have a
post that has all of this information together in one place. I've put
together a complete example that will:
- Authenticate …
I managed to piece together how to attach a new PDF file to an Evernote note using their Python API, so I thought it might be useful to have a post that has all of this information together in one place. I've put together a complete example that will:
- Authenticate …
The official YAML spec doesn't support embedding external files inside a
YAML file, a feature that can be extremely useful for maintenance of
long/complex YAML files. I found this great code snippet
yaml-include-snippet for including other YAML files in your top-level
YAML.
However, the code above assumes the include …
The official YAML spec doesn't support embedding external files inside a YAML file, a feature that can be extremely useful for maintenance of long/complex YAML files. I found this great code snippet yaml-include-snippet for including other YAML files in your top-level YAML.
However, the code above assumes the include …
I've been wanting to script simple text scanning and substitution in
Microsoft Word documents for a while now, and after a little digging, it
turns out, it's fairly straight-forward to read and edit .docx (OpenXML)
or the ECMA-376 original standard, and now under ISO as ISO/IEC
29500. Although I …
I've been wanting to script simple text scanning and substitution in Microsoft Word documents for a while now, and after a little digging, it turns out, it's fairly straight-forward to read and edit .docx (OpenXML) or the ECMA-376 original standard, and now under ISO as ISO/IEC 29500. Although I …
23 Jul
PyPDFOCR - Guide to Usage
- Take a scanned PDF file and run OCR on it (using the Tesseract OCR
software from Google), generating a searchable PDF
- Optionally, watch a folder for incoming scanned PDFs and
automatically run OCR on them
- Optionally, file the scanned PDFs into directories based on simple
keyword matching that you specify …
23 Jul
- Take a scanned PDF file and run OCR on it (using the Tesseract OCR software from Google), generating a searchable PDF
- Optionally, watch a folder for incoming scanned PDFs and automatically run OCR on them
- Optionally, file the scanned PDFs into directories based on simple keyword matching that you specify …