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

uvx install a10y

a10y

Using uv from the sources

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

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.0.tar.gz (38.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.0-py3-none-any.whl (39.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eida_a10y-1.0.0.tar.gz
  • Upload date:
  • Size: 38.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.0.tar.gz
Algorithm Hash digest
SHA256 3a5b606a57a4d43111fb8db8240bfbc1d276807f785adc613208b66c175a6af3
MD5 84fcd1e662a6a8d775b52bff9f215bef
BLAKE2b-256 85cb5c3f5cdd3fae57f9756020e851b83c390480c6aee3c4c31343cefacf152a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: eida_a10y-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 39.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8a26625dfda4e6712f572fe030211a6d55f8ff4cb9ddfb4c020395aacb73117
MD5 4d753bc69e4cd74663b400b6beab1d71
BLAKE2b-256 64b616c65c4c81a73d93d7db8b5712516bb2f3641fd4444178ef238feb1431b9

See more details on using hashes here.

Provenance

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