Skip to main content

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


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)

Uploaded Source

PyAVM-0.1.0.tar.gz (4.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page