Group 5 Discussion Thread #4
Replies: 8 comments 7 replies
|
Hi Susannah. Thanks for creating the discussion |
|
For our discussion of APIs next time, here are the University of Georgia scripts that make use of APIs. FYI, I use a lot of comments when I code, since I don't work on any given script that frequently and future maintainers will also likely not be professional developers. I hope that might help you get oriented to what each piece of code is trying to accomplish. https://github.com/uga-libraries/web-archive-it-api gets metadata from Archive-It (json) and transforms it to different CSVs for reporting and analysis. Look for a get_metadata() function for the part that interacts with the API. https://github.com/uga-libraries/web-aip gets metadata from Archive-It (json) and uses it to select WARCs and metadata reports to download for ingest into our preservation system. We do this quarterly. Several functions use the API. https://github.com/uga-libraries?q=ASpace We have 4 repos for ArchivesSpace scripts, which use that API. I did not write these, but can ask my colleague who did if you have questions. |
|
Here's the repo about how we use GitHub at the University of Georgia that I mentioned during our first meeting: https://github.com/uga-libraries/GitHub_Standards |
|
Hi everyone, I've been working on the API's and have a functioning get request for MMS Ids in Alma - the code is in the public repo for the project: https://github.com/StateLibraryVictoria/metadata-clean-up Does anyone have any experience using https://pymarc.readthedocs.io/en/latest/? I am looking at this as a next step for parsing the MARC XML. Any advice would be awesome. How is everyone else's work going? |
|
Apologies, I cannot make today's meeting. Cheers, Annabel |
|
March potential topic: unit testing. Based on our February meeting, Susannah was going to try unit tests in Python for next time. Unit tests are a way to automatically test if a function or script is producing the output you expect given different input. It helps you write the script in the first place and then makes it fast to check if future changes have broken anything. If you want to give that a try, here is the tutorial I used to learn them https://realpython.com/python-testing/ and here is my most recent script's set of unit tests: https://github.com/uga-libraries/format-report/tree/main/tests We can also do more general sharing around whatever project or tutorial you're working on and any questions you have about them. |
|
Apologies, I cannot make it to the meeting today. Work committments keeping me away for the next few months, so will withdraw from the group. Best wishes for the continued work on python! Cheers, Annabel |
|
Hey group 5, |
Uh oh!
There was an error while loading. Please reload this page.
A discussion space for group 5.
All reactions