Skip to main content

Perform operations on your F-Spot database.

Project description


pyfspot is a python application which allows you to perform and script
operations on your F-Spot ( photo collection.

The command-line application allows you to query your collection (tags, paths)
and modify photos attributes (ratings).

But you can also build your own script using pyfspot modules.


pyfspot requires:
* sqlalchemy
* pexif
* fixtures (optional)

System-wide installation
$ sudo python install

Virtualenv installation
$ virtualenv env
$ cd env
$ source bin/activate
$ python install


f-spot-admin [options]

-h, --help show this help message and exit
--database=DATABASE Path to F-Spot database
--find-path=FIND_PATH Find by path
--find-tag=FIND_TAG Find by tag
--list List photos matching set
--rating=RATING Change rating
--safe-rating Change rating only if superior to current
--log-level=LOG_LEVEL Logging level for messages (1:debug 2:info, 3:warning,
4:errors, 5:critical)

List all photos of database:
f-spot-admin --list

Find all photos on a specific partition:
f-spot-admin --find-path="/media/ext-disk/*" --list

Rate all photos with tag "family" with "canon" in file paths:
f-spot-admin --find-tag="family" --find-path="*canon*" --rating=2


* Mathieu Leplatre <>

* Lesser GNU Public License


* Initial version. Basic wiring of code and logics. Does basic path and tag search.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyfspot, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size pyfspot-0.1.tar.gz (6.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page