automation-tools | Tools to aid automation of Archivematica and AtoM | Automation library
kandi X-RAY | automation-tools Summary
kandi X-RAY | automation-tools Summary
The Automation Tools project is a set of Python scripts, that are designed to automate the processing of transfers in an Archivematica pipeline.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Create argument parser
- Create the dip_doc folder
- Create DIP METS file
- Compress a ZIP folder inside of objects
- Copy the AIP s METS file
- Start a transfer
- Approve a transfer
- Get the accession number for a given directory
- Calls start transfer endpoint
- Read a setting from a config file
- Get the status of a unit
- Start a new transfer
- Make a deposit request
- Start a reingest
- Extract an AIP file from a temporary directory
- Filter a list of AIPs
- Manage the process
- Configure logging
- Writes the csv to csv files
- Extract component identifier from Mets namespace
- Parse object id from mets_data
- Update the reinest unit
- Print the completion stats
- Perform rsync
- Get a setting from a config file
- Return an AMClient object
- Load user list from file
automation-tools Key Features
automation-tools Examples and Code Snippets
Community Discussions
Trending Discussions on automation-tools
QUESTION
While I am trying to run the following script as a shell script, I get an error saying
...ANSWER
Answered 2017-Feb-02 at 14:36You have some confusion
Your script is a Vagrantfile not a shell script. Rename your install_local.sh
as Vagrantfile
and run vagrant up
QUESTION
How can I scrape all tools from site with dynamic routing
http://growthtools.io/social-media-automation-tools
When I was trying to
...ANSWER
Answered 2017-Jan-07 at 20:30The page load involves JavaScript executed by the browser which Scrapy is not. You can though solve it with scrapy-splash
which provides a middleware to use in your Scrapy project. The middleware uses the Splash
JS rendering service which you can run through the docker.
As far as testing it in the Scrapy Shell, you can follow this example to run it from the shell.
Works for me:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install automation-tools
Make the following directories: ``` sudo mkdir -p /usr/lib/archivematica/automation-tools && sudo mkdir /usr/share/python/automation-tools && sudo mkdir -p /var/log/archivematica/automation-tools && sudo mkdir /var/archivematica/automation-tools && sudo mkdir /etc/archivematica/automation-tools ```
Change ownership of the directories to be owned by archivematica (group archivematica) and directories to be owned by the user: ``` sudo chown archivematica:archivematica /var/log/archivematica/automation-tools && sudo chown archivematica:archivematica /var/archivematica/automation-tools && sudo chown $USER /usr/lib/archivematica/automation-tools && sudo chown $USER /usr/share/python/automation-tools/ && sudo chown $USER /etc/archivematica/automation-tools/ ``` In case of using the automation tools with a Docker setup the archivematica user and group don't exist: ``` sudo useradd archivematica ```
Clone the automation-tools repository into your usr/lib directory: ``` cd /usr/lib/archivematica/automation-tools/ git clone https://github.com/artefactual/automation-tools.git . ``` In case you want to run the automation-tools using [cron](#configuration), the automation tools need to be owned by the archivemtatica user: ``` sudo chown archivematica:archivematica /usr/lib/archivematica/automation-tools/ ```
Set up a Python virtual environment: ``` cd /usr/share/python/automation-tools virtualenv venv source venv/bin/activate pip install -r /usr/lib/archivematica/automation-tools/requirements.txt ```
(Optional) Update and retrieve required packages: ``` apt-get update apt-get install p7zip-full ```
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page