Overview
Let’s try a3m.
https://github.com/artefactual-labs/a3m
a3m is described as follows.
a3m is a lightweight version of Archivematica focused on AIP creation. It has neither external dependencies, integration with access sytems, search capabilities nor a graphical interface.
Differences from Archivematica
The following is also quoted from the documentation.
The main differentiator is the lack of service dependencies. a3m does not depend on Gearman or external workers, MySQL, Elasticsearch or Nginx. a3m provides its own API server based on the gRPC stack and all processing is performed via system threads and spawned child processes. An embedded database based on SQLite is used to store temporary processing state.
Installation
Refer to the following.
https://a3m.readthedocs.io/en/latest/installation.html
We’ll use Docker. I created the following docker-compose.yml.
Then, run the following in the same folder where docker-compose.yml is located to start it up.
Creating an AIP
Proceed by referring to the following.
https://a3m.readthedocs.io/en/latest/usage.html
My understanding may be incomplete, but it seems possible to run on the server or use it from a client.
For details, please check the following.
https://a3m.readthedocs.io/en/latest/overview.html#architecture
Running on the Server
First, install the library.
Then, run as follows.
The following output was produced.
Checking the Processing directory, a 7z file had been created.
Using from a Client
First, install the library.
Then, specify the address argument and the files to process via URL.
The server domain is assumed to be example.org here. Also, an image from Irasutoya is used.
Similarly, the following was output and saved on the server.
Using from Python
By doing the following, you can create an AIP in the same way as with the CLI.
Furthermore, the processing results could be retrieved as follows.
0
1
Discussion
ProcessingConfig
As described in the following, Archivematica required preparing an XML-based configuration file in advance. On the other hand, a3m allows you to submit the configuration as part of transfer requests. This seems to improve flexibility in AIP creation.
https://a3m.readthedocs.io/en/latest/usage.html#processing-configuration
Regarding Usage
Since this tool is still under development, I felt it might be difficult to start using it just yet. However, as a tool that enables simpler AIP creation, I look forward to its future development.
Summary
I hope this serves as a useful reference.