Simple pure-python AVM meta-data parsing
Project description
PyAVM provides the AVM() class to retrieve [AVM](http://www.virtualastronomy.org/avm_metadata.php) meta-data from an image file:
>>> from pyavm import AVM
To use, simply create an instance of this class using the filename of the image (or any file-like object):
>>> avm = AVM('myexample.jpg')
Then, you can view the contents by using
>>> print avm
or
>>> avm
Finally, the AVM meta-data can be accessed using the attribute notation:
>>> avm.Spatial.Equinox 'J2000'>>> avm.Publisher 'Chandra X-ray Observatory'
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 Distributions
PyAVM-0.1.0.zip
(7.7 kB
view hashes)
PyAVM-0.1.0.tar.gz
(4.1 kB
view hashes)