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.5.tar.gz (43.7 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.5-py3-none-any.whl (41.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eida_a10y-1.0.5.tar.gz
  • Upload date:
  • Size: 43.7 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.5.tar.gz
Algorithm Hash digest
SHA256 2648c38c2433ecd1ad6bae23abb1029ec9dea7aafed578076fb7f23f7bb8614b
MD5 60111e0a89fff34ccba4374a9a115915
BLAKE2b-256 f32b8a1c66d158c0d1566a452fdde23b7403b5ca4ae26ccb38f926b13b344678

See more details on using hashes here.

Provenance

The following attestation bundles were made for eida_a10y-1.0.5.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.5-py3-none-any.whl.

File metadata

  • Download URL: eida_a10y-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 41.6 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 93f3e8166dfcad9b9375627811fb9ed572077a1c31a778338f077636234b5093
MD5 f6767eb3852bec62e3a056dca2718b59
BLAKE2b-256 1ac9ebd34e7129186cd0b4f1ed7fd652f44bc511ecff8c27bb7cbd755d6b5797

See more details on using hashes here.

Provenance

The following attestation bundles were made for eida_a10y-1.0.5-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