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
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.specfile - a
buildfolder - a
distfolder
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 --postfollowed by path that points to a file to start the application using that file for making POST requests to availability webservice-c or --configfollowed 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
-cor--configcommand line option - in the
$XDG_CONFIG_DIR/a10ydirectory - 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2648c38c2433ecd1ad6bae23abb1029ec9dea7aafed578076fb7f23f7bb8614b
|
|
| MD5 |
60111e0a89fff34ccba4374a9a115915
|
|
| BLAKE2b-256 |
f32b8a1c66d158c0d1566a452fdde23b7403b5ca4ae26ccb38f926b13b344678
|
Provenance
The following attestation bundles were made for eida_a10y-1.0.5.tar.gz:
Publisher:
publish.yml on EIDA/a10y
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eida_a10y-1.0.5.tar.gz -
Subject digest:
2648c38c2433ecd1ad6bae23abb1029ec9dea7aafed578076fb7f23f7bb8614b - Sigstore transparency entry: 184893156
- Sigstore integration time:
-
Permalink:
EIDA/a10y@339dc376da5d11cf7d8cc5c535f5fd156b3358bf -
Branch / Tag:
refs/tags/1.0.5 - Owner: https://github.com/EIDA
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@339dc376da5d11cf7d8cc5c535f5fd156b3358bf -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93f3e8166dfcad9b9375627811fb9ed572077a1c31a778338f077636234b5093
|
|
| MD5 |
f6767eb3852bec62e3a056dca2718b59
|
|
| BLAKE2b-256 |
1ac9ebd34e7129186cd0b4f1ed7fd652f44bc511ecff8c27bb7cbd755d6b5797
|
Provenance
The following attestation bundles were made for eida_a10y-1.0.5-py3-none-any.whl:
Publisher:
publish.yml on EIDA/a10y
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eida_a10y-1.0.5-py3-none-any.whl -
Subject digest:
93f3e8166dfcad9b9375627811fb9ed572077a1c31a778338f077636234b5093 - Sigstore transparency entry: 184893159
- Sigstore integration time:
-
Permalink:
EIDA/a10y@339dc376da5d11cf7d8cc5c535f5fd156b3358bf -
Branch / Tag:
refs/tags/1.0.5 - Owner: https://github.com/EIDA
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@339dc376da5d11cf7d8cc5c535f5fd156b3358bf -
Trigger Event:
push
-
Statement type: