Metadata-Version: 2.1
Name: wasc
Version: 0.4.0
Summary: Web Accessibility Simple Checker
Project-URL: Documentation, https://github.com/gcollet/wasc#readme
Project-URL: Issues, https://github.com/gcollet/wasc/issues
Project-URL: Source, https://github.com/gcollet/wasc
Author-email: Guillaume Collet <bilouweb@free.fr>, Juliette Francis <juliette.francis@etudiant.univ-rennes.fr>
License-Expression: CECILL-2.1
License-File: LICENSE.txt
Keywords: Accessibility,Checker,Criteria,Web
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.7
Requires-Dist: beautifulsoup4
Requires-Dist: click
Requires-Dist: pandas
Requires-Dist: tqdm
Requires-Dist: trafilatura
Description-Content-Type: text/markdown

# Web Accessibility Simple Checker

[![PyPI - Version](https://img.shields.io/pypi/v/wasc.svg)](https://pypi.org/project/wasc)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/wasc.svg)](https://pypi.org/project/wasc)
[![Docs](https://github.com/atelierPartage/wasc/actions/workflows/docs.yml/badge.svg)](https://github.com/atelierPartage/wasc/actions/workflows/docs.yml)
-----

**Table of Contents**

- [Web Accessibility Simple Checker](#web-accessibility-simple-checker)
  - [](#)
  - [Installation](#installation)
  - [Usage](#usage)
  - [Documentation](#documentation)
  - [License](#license)
  - [Developpement](#developpement)
    - [Dependencies](#dependencies)
    - [Running wasc with hatch](#running-wasc-with-hatch)
    - [Testing wasc with hatch](#testing-wasc-with-hatch)

## Installation

```console
pip install wasc
```
## Usage

```bash
Usage: wasc [OPTIONS] WEBSITES

  Websites Accessibility Criteria Checker, helps to 
  evaluate accessibility on a list of websites

  WEBSITES is a CSV file containing a list of websites 
  as couples "label";"URL"

Options:
  -c, --checkers PATH             Path to the list of checkers
  -f, --output_format [json|csv]  Output format [default=json]
  -o, --output FILENAME           Output file [default=stdout]
  --version                       Show the version and exit.
  -h, --help                      Show this message and exit.
```

Example files are given in `data` directory

## Documentation

Documentation is available [here](https://atelierpartage.github.io/wasc/)
## License

`wasc` is distributed under the terms of the [CECILL-2.1](https://spdx.org/licenses/CECILL-2.1.html) license by the following licensors :
* Juliette Francis
* François le Berre
* Guillaume Collet

`wasc` main contact is [contact@latelierpartage.fr](mailto:contact@latelierpartage.fr)

For details about the license, see file [LICENSE.txt](https://github.com/atelierPartage/wasc/blob/main/LICENSE.txt)

## Developpement

Full source code is available on github : [https://github.com/gcollet/wasc](https://github.com/gcollet/wasc)
The project is developed under hatch project manager ([hatch.pypa.io](https://hatch.pypa.io/latest/))

### Dependencies
`hatch` project manager is mandatory. The other dependencies are managed with hatch environment system.

It is **not necessary** to install dependencies using `pip install -r requirements_dev.txt` but the file is present if needed.
### Running wasc with hatch
In `wasc` directory, use hatch to run wasc in the default environnement :

`hatch run wasc data/url_example.csv`

### Testing wasc with hatch
In `wasc` directory, use hatch to test wasc files in the default environnement :

`hatch run test_all`
