Perform operations on your F-Spot database.
Project description
https://github.com/leplatrem/pyfspot
pyfspot is a python application which allows you to perform and script
operations on your F-Spot (http://f-spot.org) photo collection.
The command-line application allows you to query your collection (tags, paths),
modify photos attributes (ratings, tags), and diagnostic problems (find missing on disk etc.)
But you can also build your own script using pyfspot modules.
=======
INSTALL
=======
pyfspot requires:
* sqlalchemy
* pexif
* fixtures (optional)
System-wide installation
------------------------
$ sudo python setup.py install
Virtualenv installation
-----------------------
$ virtualenv env
$ cd env
$ source bin/activate
$ python setup.py install
=====
USAGE
=====
f-spot-admin [options]
Options:
-h, --help show this help message and exit
--database=DATABASE Path to F-Spot database
--log-level=LOG_LEVEL
Logging level for messages (1:debug 2:info, 3:warning,
4:errors, 5:critical)
Queries:
--find-path=FIND_PATH
Find by path
--find-tag=FIND_TAG
Find by tag
--find-missing Find photos missing on disk
Actions:
--list List photos matching set
--rating=RATING Change rating
--safe-rating Change rating only if superior to current
--tag=TAG Apply specified tag
--untag=UNTAG Remove specified tag
Examples
--------
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
Tag and rate all photos whose path contains "selecta":
f-spot-admin --find-path="*selecta*" --tag="selection" --rating=1
Remove tag on all photos which are missing on disk:
f-spot-admin --find-missing --untag="Family"
=======
AUTHORS
=======
* Mathieu Leplatre <contact@mathieu-leplatre.info>
=======
LICENSE
=======
* Lesser GNU Public License
=========
CHANGELOG
=========
0.2
---
* Ability to find missing photos on disk
* Ability to add/remove tag from command-line
* Fix encoding of paths in database
* Fix command-line args
0.1
---
* Initial version. Basic wiring of code and logics. Does basic path and tag search.
pyfspot is a python application which allows you to perform and script
operations on your F-Spot (http://f-spot.org) photo collection.
The command-line application allows you to query your collection (tags, paths),
modify photos attributes (ratings, tags), and diagnostic problems (find missing on disk etc.)
But you can also build your own script using pyfspot modules.
=======
INSTALL
=======
pyfspot requires:
* sqlalchemy
* pexif
* fixtures (optional)
System-wide installation
------------------------
$ sudo python setup.py install
Virtualenv installation
-----------------------
$ virtualenv env
$ cd env
$ source bin/activate
$ python setup.py install
=====
USAGE
=====
f-spot-admin [options]
Options:
-h, --help show this help message and exit
--database=DATABASE Path to F-Spot database
--log-level=LOG_LEVEL
Logging level for messages (1:debug 2:info, 3:warning,
4:errors, 5:critical)
Queries:
--find-path=FIND_PATH
Find by path
--find-tag=FIND_TAG
Find by tag
--find-missing Find photos missing on disk
Actions:
--list List photos matching set
--rating=RATING Change rating
--safe-rating Change rating only if superior to current
--tag=TAG Apply specified tag
--untag=UNTAG Remove specified tag
Examples
--------
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
Tag and rate all photos whose path contains "selecta":
f-spot-admin --find-path="*selecta*" --tag="selection" --rating=1
Remove tag on all photos which are missing on disk:
f-spot-admin --find-missing --untag="Family"
=======
AUTHORS
=======
* Mathieu Leplatre <contact@mathieu-leplatre.info>
=======
LICENSE
=======
* Lesser GNU Public License
=========
CHANGELOG
=========
0.2
---
* Ability to find missing photos on disk
* Ability to add/remove tag from command-line
* Fix encoding of paths in database
* Fix command-line args
0.1
---
* Initial version. Basic wiring of code and logics. Does basic path and tag search.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyfspot-0.2.tar.gz
(7.7 kB
view details)
File details
Details for the file pyfspot-0.2.tar.gz
.
File metadata
- Download URL: pyfspot-0.2.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68599982674186e75deb0ef912a4e6c6f416e543477a203d49ca24f69d04c71c |
|
MD5 | 8535ed54172eb6dd79ff93d250e40ddb |
|
BLAKE2b-256 | 919cf4ee9db7a8c67ef3d0362e75cd7aaa2641f3726e9d6c0e21273bffaa7fb4 |