Modules¶
Table of Contents
anonapi package¶
anonapi.batch module¶
Work with batches of jobs. Batches are modeled on git repos; state is maintained via hidden file in current folder.
- class anonapi.batch.BatchFolder(path)[source]¶
Bases:
object
A folder in which a batch might be defined
- BATCH_FILE_NAME = '.anonbatch'¶
- property batch_file_path¶
- class anonapi.batch.JobBatch(job_ids, server)[source]¶
Bases:
anonapi.persistence.YAMLSerializable
A collection of anonymisation jobs
- __init__(job_ids, server)[source]¶
- Parameters
job_ids (List(str)) – All job ids in this batch
server (RemoteAnonServer) – Server these jobs were created in
anonapi.client module¶
anonapi.context module¶
anonapi.decorators module¶
anonapi.exceptions module¶
anonapi.mapper module¶
anonapi.objects module¶
classes and methods shared by anonapi modules
- class anonapi.objects.RemoteAnonServer(name, url)[source]¶
Bases:
object
An anonymization server that can be talked to via the API
- __init__(name, url)[source]¶
Create a Remote anon server entry
- Parameters
name (str) – short keyword to identify this server
url (str) – full url to a valid Anonymization server web API
anonapi.parameters module¶
anonapi.responses module¶
anonapi.selection module¶
anonapi.settings module¶
anonapi.testresources module¶
Module contents¶
Top-level package for AnonAPI.
Examples¶
To see the source code for these examples, press the [source] link to the right of each title