Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Trivial wrapper providing tidy python access to the openmeta command-line client to set OS X openmeta tags on files

Project Description

pythonic file tagging

Simple-to-trivial wrapper for OpenMeta_. Rather than re-implementing OpenMeta
using, say, Bob Ippolito's excellent xattr_, I decided to do it by wrapping
the already-functional CLI binary, on advice from those more experienced than
myself who suggested that the pain in getting OpenMeta working as advertised
from the direct xattr business was great and terrible.

Warning - this thing does rely on parsing the output of CLI apps, with the
flakiness and performance troubles that implies. However, it's working
reliably for me.


>>> import openmeta
>>> open('./test.txt', 'w').close()
>>> openmeta.set_tags('./test.txt', ['foo', 'bar'])
>>> openmeta.get_meta('./test.txt')['tags']
['foo', 'bar']


* more graceful error message when the openmeta CLI binary is not installed


- OpenMeta_
- xattr_

.. _OpenMeta:
.. _xattr:



*Release date: 16-March-2011*

* update email to allow upload, and bump version accordingly


*Release date: 16-March-2011*

* I spin this package off

Release History

This version
History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(3.0 kB) Copy SHA256 Hash SHA256
Source None Mar 16, 2011

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate