Envidat-utils

Latest version: v1.4.5

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

Scan your dependencies

Page 1 of 6

1.4.5

Fix

- restore pipeline

1.4.4

Fix

- allow increased Python versions in project metadata

1.4.3

Fix

- improve logging for metadata validation

1.4.2

Fix

- add pathlib import for datacite_converter
- set datacite config yaml relative to .py file
- add options to ignore docker check for loading dotenv
- add Access-Control-Allow-Origin to headers for set_cors_config

Refactor

- comment out failing test_dif_converters_all_packages test

1.4.1

Fix

- dotenv debug mode function graceful failure

1.4.0

Feat

- finish script datacite_updater_records.py
- add function to update just some records in DataCite in datacite_updater.py
- start working on new script to update some records in DataCite
- add geometrycollection spatial data processing in datacite_converter.py
- implement is_update arg to DataCite publish endpoint
- add optional cookie arg to CKAN API call
- added script and functions to import all records to DataCite
- add get_published_record_names_with_dois() to datacite_publisher.py
- add get_envidat_dois() to datacite_publisher.py
- add get_response_json() to email.utils.py
- validate args sent to email
- get user name and email from CKAN helper function
- add publish email template
- add enum classes and logic for publish actions and publish subjects
- add Jinga2 templates to send_email.py
- add endpoints that send email with FastMail
- implement SMPT emails
- start implementing notification emails
- implement FastApi and router to publish records in datacite
- implement jsonschema with datacite_converter config
- handle failed conversions in datacite converter
- add update logic to datacite publisher
- add validation for creators in datacite converter
- add datacite publisher functionality
- add reserve datacite doi functionality
- add helper funciton do DataCite published
- start code for publishing packages to DataCite API
- finish "affiliation" tags helper funciton in datacite converter
- add helper function to enhance "affiliation" tags in datacite converter
- add organization title to contributor tag in datacite converter
- add "schemeURI" attribute to creator and contributor tags in datacite converter
- add awardUrl tag to datacite converter
- add awardURI to datacite converter config
- add JSON config for converters
- add validators package
- extract DOI from DORA URL for Datacite converter

Fix

- update log statements in datacite converter and importer
- correct search criteria in get_doi() in datacite_converter.py
- correct PID extraction from DORA URL
- retrieve DataCite DOIs from non-test API
- added URL validator to awardURI in datacite_converter.py
- load config with "utf-8" encoding in datacite converter
- allow duplicate formats in datacite converter
- remove "language" from metadata validator

Refactor

- remove fastapi related code into separate repo
- remove redundant files
- update imports
- remove dev endpoints
- update auth in get_user_show()
- update email endpoint
- improve and restructure error handling in datacite_updater.py
- update code formatting in datacite updater scripts
- update code formatting in datacite_updater.py
- improve error handling in datacite_update_records()
- update formatting, TODOs, and imports in datacite_publisher.py
- update code formatting in datacite_converter.py
- fix type in geometry collection helper in datacite_converter.py
- update func thats updates variable number of records in datacite_updater.py
- update comments in datacite_updater_all_records.py
- rename script to update all records with DataCite
- improve get_dc_geolocations() handling (WIP) in datacite_converter.py
- add return type annotations to helper functions in datacite_converter.py
- finished updated get_dc_related_identifiers() and helper functions
- update get_dc_related_identifiers() and helper functions in datacite_converter.py
- improve processing of relatedIdentifiers in datacite_converter.py
- improve get_dora_doi() in datacite_converter.py
- update comments in datacite_importer.py
- improve error handling and logging in DataCite publish endpoint
- remove counter logic from datacite_updater.py
- modify datacite_updater.py to only modify and not create new DOIs
- include DOI in error response
- temporarily omit "geometrycollection" spatial data from DataCite converter
- improved logging in datacite_updater.py
- move get_response_json() to envidat.utils.py
- improve arguments handling in email sender
- improve logging in email utility
- improve validation in email sender
- implement error handling in email utility
- update imports in main.py
- extract getting email and subject to email/utils.py
- move send_email_publish_async() to router_publish.py
- update publish actions and move Enum classes to constants.py
- update send email functions
- improve send email function
- rename publish functio in router_publish.py
- add default error message to publish_to_datacite()
- add default values for error handling in router_publish.py
- improve error handling in router_publish.py
- rename publish router
- add logging to 'date_type' and 'notes' keys handling in datacite converter
- update error handling for required keys in datacite converter
- move config_converters.json to config directory
- update error handling for required keys in datacite converter
- assign default values for required keys in datacite converter
- extract error message logging for required keys to helper function in datacite converter
- remove 'doi' arg from datacite publisher
- format geolocation tag code
- add resource links to datacite converter
- improve DORA DOI helper function in datacite converter
- remove unused "name_doi_map" arg from get_all_metadata_record_list()
- remove legacy function in datacite converter
- remove "name_doi_map" from convert_datacite() call
- update geolocations & funding tags in DataCite converter
- extract helper functions in Datacite converter
- update "dates" and "language" tags in Datacite converter
- update "contributors" tag logic in Datacite converter
- update relatedIdentifier logic in Datacite converter
- update datacite converter to use json config
- restructure datacite converter
- streamline "related_datasets" logic for Datacite converter
- update "related_datasets" logic for Datacite converter
- add related_publications to Datacite converter relatedIdentifiers

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.