Pyoai

Latest version: v2.5.1

Safety actively analyzes 628969 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

2.2

- Support for BatchingServer. A BatchingServer implements the
IBatchingOAI interface. This is very similar to IOAI, but methods get
a ‘cursor’ and ‘batch_size’ argument. This can be used to efficiently
implement batching OAI servers on top of relational databases.

- Make it possible to explicitly pass None as the from or until
parameters for a OAIPMH client.

- an extra nsmap argument to Server and BatchingServer allows the
programmer to specify either namespace prefix to namespace URI
mappings that should be used in the server output.

- fixed a bug where the output wasn’t encoded properly as UTF-8.

2.1.5

- compatibility fix: it should work with lxml 1.1 now.

2.1.4

- Distribute as an egg.

2.1.3

- Add infrastructure to deal with non-XML compliant OAI-PMH feeds; an
XMLSyntaxError is raised in that case.

- added tolerant_datestamp_to_datetime which is a bit more tolerant
than the normal datestamp_to_datetime when encountering bad
datestamps.

- Split off datestamp handling into separate datestamp module.

2.0

- Add support for day-only granularity (YYYY-MM-DD) in client. calling
‘updateGranularity’ with the client will check with the server (using
identify()) to see what granularity the server supports. If the
server only supports day level granularity, the client will make sure
only YYYY-MM-DD timestamps are sent.

2.0b1

- Added framework for implementing OAI-PMH compliant servers.

- Changed package structure: now a oaipmh namespace package. Client
functionality now in oaipmh.client.

- Refactoring of oaipmh.py module to reuse code for both client and
server.

- Extended testing infrastructure.

- Switched over from using libxml2 Python wrappers to the lxml binding.

- Use generators instead of hacked up **getitem**. This means that the
return from listRecords, listIdentifiers and listSets are now not
normal lists but iterators. They can easily be turned into a normal
list by using list() on them, however.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.