Skip to main content

Manage collection inventories throught yaml files.

Project description

lesana is a python3 library to organize collections of various kinds. It is designed to have a data storage / serialization format that is friendly to git and other VCSs, but decent performances.

To reach this aim it uses yaml as its serialization format, which is easy to store in a VCS, share between people and syncronize between different computers, but it also keeps an index of this data in a local xapian database in order to allow for fast searches.

lesana supports collections of any kind, as long as their entries can be described with a mostly flat dictionary of fields of the types described in the documentation file field_types.

Some example collection schemas are provided, but one big strenght of lesana is the ability to customize your collection with custom fields by simply writing a personalized settings.yaml.


The source code for lesana can be downloaded from the git repository at; releases are made on pypi.

lesana expects to run on a POSIX-like system and requires the following dependencies:

Under debian (and derivatives), the packages to install are:

apt install python3-jinja2 python3-ruamel.yaml python3-xapian \
            python3-dateutil python3-git

lesana can be run in place from the git checkout / extracted tarball; to use you will also need setuptools (e.g. from the python3-setuptools package under debian and derivatives).


Copyright (C) 2016-2020 Elena Grandi

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <>.

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 lesana, version 0.8.1
Filename, size File type Python version Upload date Hashes
Filename, size lesana-0.8.1-py3-none-any.whl (34.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size lesana-0.8.1.tar.gz (52.8 kB) File type Source Python version None Upload date Hashes View

Supported by

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