anarchivist / brooklynmuseumapi (http://matienzo.org/project/brooklynmuseumapi)

Python module that works with the Brooklyn Museum Collection API to retrieve images and data about their collections.

Changed (Δ36.6 KB):

raw changeset »

COPYING (674 lines added, 0 lines removed)

Changes (null-size change)

README (27 lines added, 0 lines removed)

brooklynmuseumapi/__init__.py (27 lines added, 0 lines removed)

setup.py (23 lines added, 0 lines removed)

Up to file-list COPYING:

-
Diff size exceeds threshold (34.3 KB)view raw?

Up to file-list README:

1
DESCRIPTION
2
-----------
3
4
This is a Python module that works with the Brooklyn Museum Collection API
5
<http://www.brooklynmuseum.org/opencollection/api/> to retrieve images and 
6
data about their materials.
7
8
Requests to the Brooklyn Museum Collection API require an API key, available
9
via <http://www.brooklynmuseum.org/opencollection/api/register/>. The authors
10
of this module do not endorse nor are liable for any violations of the API's
11
Terms of Use.
12
13
INSTALLATION
14
------------
15
16
You can use easy_install to install worldcat:
17
    
18
    easy_install worldcat
19
    
20
If you prefer, you can check out the latest version of the source using
21
Mercurial:
22
23
    hg clone https://bitbucket.org/anarchivist/brooklynmuseumapi/
24
    
25
To install:
26
27
    python setup.py install

Up to file-list brooklynmuseumapi/__init__.py:

1
# Copyright (C) 2009 Mark A. Matienzo
2
#
3
# This file is part of the brooklynmuseumapi Python module.
4
#
5
# worldcat is free software: you can redistribute it and/or modify
6
# it under the terms of the GNU General Public License as published by
7
# the Free Software Foundation, either version 3 of the License, or
8
# (at your option) any later version.
9
#
10
# worldcat is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
# GNU General Public License for more details.
14
#
15
# You should have received a copy of the GNU General Public License
16
# along with worldcat.  If not, see <http://www.gnu.org/licenses/>.
17
18
# __init__.py - initialize module
19
20
__version__ = '0.1.0'
21
22
23
def main():
24
    pass
25
26
if __name__ == '__main__':
27
    main()

Up to file-list setup.py:

1
from setuptools import setup, find_packages
2
3
classifiers = """
4
Intended Audience :: Education
5
Intended Audience :: Developers
6
Intended Audience :: Information Technology
7
License :: OSI Approved :: GNU General Public License (GPL)
8
Programming Language :: Python
9
Development Status :: 3 - Alpha
10
"""
11
12
setup(
13
    name = 'brooklynmuseumapi',
14
    version = '0.1.0',  # update brooklynmuseumapi/__init__.py on release!
15
    url = 'http://bitbucket.org/anarchivist/brooklynmuseumapi',
16
    author = 'Mark A. Matienzo',
17
    author_email = 'mark@matienzo.org',
18
    license = 'GPL/BSD',
19
    packages = find_packages(),
20
    install_requires = install_requires,
21
    description = 'Interact with the Brooklyn Museum Collection API',
22
    classifiers = filter(None, classifiers.split('\n')),
23
)