Skip to main content

A Python client library and CLI tool for interfacing with ARIA within the FandanGO ecosystem

Project description

Alt text

fandanGO-aria

Python

Connect on LinkedIn GitHub issues GitHub forks GitHub contributors PyPI version License Documentation OSV Scanner

Intro

Welcome to the fandanGO-aria package.

This package allows the user to do the following:

  • Metadata Deposition in ARIA
  • Manage Access in ARIA

Please refer to our Wiki for full documentation.

Installation

Install via PYPI

pip install fandanGO-aria

Setup

Connections are configured in the .env file located in the root of your project.

Here, you will be required to complete the following:

All Connections

  • ARIA_CONNECTION_LOGIN_URL
  • ARIA_CONNECTION_GRANT_TYPE
  • ARIA_CONNECTION_SCOPE
  • ARIA_CLIENT_ID
  • ARIA_CLIENT_SECRET
  • ARIA_CONNECTION_REFRESH_GRANT
  • DEV (Set to LIVE unless in development/beta)
  • ARIA_FACILITY_ID

Caveats

The following env options are not neccessary and are mostly used for development :

  • ARIA_CONNECTION_USERNAME : If a CLI user, this will remove the need to re-enter your login email
  • ARIA_CONNECTION_PASSWORD : Similar to Email. Use with caution if on a communal computer.

Post Setup

If you've successfully completed the above setup options, you're ready to start using the package.

Note

This package uses Keyring to store token information securely. Keyring is usable accross multiple os and supports the following backends:

  • macOS Keychain
  • Freedesktop Secret Service supports many DE including GNOME (requires secretstorage)
  • KDE4 & KDE5 KWallet (requires dbus)
  • Windows Credential Locker

Linux

If problems arise when storing tokens on a Linux device, it may be required to download dbus-python.

Please use the dbus package to solve the issue

Security Scanning

This repo uses OSV Scanner for vulnerability detection.

When it runs:

  • Daily at 03:00 UTC (full scan)
  • On PRs targeting main (changed deps only)
  • On push to main (full scan)

If vulnerabilities are found:

  1. Check the Security tab for alerts
  2. To ignore false positives, add entries to osv-scanner.toml:
    [[IgnoredVulns]]
    id = "GHSA-xxxx-xxxx-xxxx"
    reason = "Justification"
    

References:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fandango_aria-2.2.6.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fandango_aria-2.2.6-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

Details for the file fandango_aria-2.2.6.tar.gz.

File metadata

  • Download URL: fandango_aria-2.2.6.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for fandango_aria-2.2.6.tar.gz
Algorithm Hash digest
SHA256 c789e74a054f147fd8663b32282288602069aedb52fb135685c39afb6eca4ae2
MD5 2864ac55c2a8f7a0cbd09dc0c1674e2b
BLAKE2b-256 c7eea7908431bfc2a88a433a02e243f4942211fc95cf8e40b955b6d12dc7adad

See more details on using hashes here.

File details

Details for the file fandango_aria-2.2.6-py3-none-any.whl.

File metadata

  • Download URL: fandango_aria-2.2.6-py3-none-any.whl
  • Upload date:
  • Size: 27.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for fandango_aria-2.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a18d0d996601354052437f2f1a857a889a1f95627f7a638e4846653560f685ef
MD5 e11570de273f44616a06e54c5c6a093b
BLAKE2b-256 810dc3de023a4e2ad598820ceb63e019b75924e6976a9b93f5aaf7b628d868d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page