Skip to main content

No project description provided

Project description

a10y

The current repository hosts a user interface terminal application for the Availability webservice.

The application is mainly built using textual library for making terminal applications.

Demo video

asciicast

Installation

Using uv from PyPI

If uv is not already installed, you can follow those instructions.

Install EIDA a10y using uv

uvx eida-a10y

Run the application

eida-a10y

Using uv from the sources

Then follow those commands:

git clone https://github.com/EIDA/a10y.git
cd a10y
uv sync
uv run src/main.py

Docker container

git clone https://github.com/EIDA/a10y.git
cd a10y
buildah bud -t a10y
podman run -it a10y

In a python virtual environment

Clone the sources, create a virtual environment, install dependencies and run as a python script:

git clone https://github.com/EIDA/a10y.git
cd a10y
python -m venv venv
source venv/bin/activate
python -m pip install -r requirements.txt
python a10y.py

With conda

Supposing you have anaconda or miniconda installed in your system, follow the steps below.

Clone the sources, create a conda environment, install dependencies and run as a python script:

git clone https://github.com/EIDA/a10y.git
cd a10y
conda create --name a10yEnv python=3.8
conda activate a10yEnv
python -m pip install -r requirements.txt
python a10y.py

With pyinstaller

This method is intended to provide a portable standalone executable for the application.

The executable can be created on every system using pyinstaller.

It has been tested in an Ubuntu machine with pyinstaller version 6.3.0.

After having created a python or conda environment, activated it and installed dependencies as shown above, install pyinstaller and execute it as below:

python -m pip install pyinstaller
pyinstaller --onefile --add-data "a10y.css:." a10y.py

This will create:

  • an a10y.spec file
  • a build folder
  • a dist folder

Into dist folder you can find the final executable. By executing through terminal, as every other executable in your system, it opens the application:

cd dist
./a10y

The final executable can be redistributed and be used as a standalone executable to any system with similar operating system as the one in which it was created.

Options

The application can be executed with the following options:

  • -p or --post followed by path that points to a file to start the application using that file for making POST requests to availability webservice
  • -c or --config followed by path that points to a configuration file to start the application using specific default values for requests

Configuration

A config.toml file with some default values for the parameters of the requests can be provided, so that the application starts with them as selected.

With the configuration file, you can set your default values for starttime, endtime, quality, mergegaps or merge policy.

The application looks for the configuration file in this order:

  • with the -c or --config command line option
  • in the $XDG_CONFIG_DIR/a10y directory
  • in the directory of the application script

Customizing the layout

All the layout colors are described in a CSS file a10y.css that can be customized. This is not possible at the moment with the binary release, which embeds the CSS file.

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

eida_a10y-1.0.3.tar.gz (38.9 kB view details)

Uploaded Source

Built Distribution

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

eida_a10y-1.0.3-py3-none-any.whl (39.2 kB view details)

Uploaded Python 3

File details

Details for the file eida_a10y-1.0.3.tar.gz.

File metadata

  • Download URL: eida_a10y-1.0.3.tar.gz
  • Upload date:
  • Size: 38.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for eida_a10y-1.0.3.tar.gz
Algorithm Hash digest
SHA256 71665442d638fc8ce5ea16f5cb73bd1bd1eba1431d2bda8f5d0e40254e4655b9
MD5 c49674c49ddcc0c4ca8b91c44d9d98fa
BLAKE2b-256 fe4ad1b2f3982db4be234f76b27ef81e026e2f079a5caeb987debc9e8246b861

See more details on using hashes here.

Provenance

The following attestation bundles were made for eida_a10y-1.0.3.tar.gz:

Publisher: publish.yml on EIDA/a10y

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file eida_a10y-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: eida_a10y-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 39.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for eida_a10y-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c224fee8f0ffe547781f30ec60faeffa1ba9cf0c01b92a520871cd09fa1456ef
MD5 bad61fb8e0aac1a38ed7e606841ec0eb
BLAKE2b-256 c090578cd676e17fc3dbff22f6b258b3f819cc4223cf62376d0baaa4c88cb10a

See more details on using hashes here.

Provenance

The following attestation bundles were made for eida_a10y-1.0.3-py3-none-any.whl:

Publisher: publish.yml on EIDA/a10y

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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