Metadata-Version: 2.1
Name: acdh-uri-norm-rules
Version: 1.0.0
Summary: A set of URI normalization rules used by the ACDH
Home-page: https://github.com/acdh-oeaw/UriNormRules
Author: Mateusz Żółtak
Author-email: mzoltak@oeaw.ac.at
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# UriNormRules

Set of URI normalization rules used within the [ACDH-CD](https://www.oeaw.ac.at/acdh/).

Provides Python 3 and PHP bindings.

Rules are stored as a JSON in the `UriNormRules/rules.json` file.

# Installation

## Python

Using pip3:

```bash
pip install acdh_uri-norm-rules
```

## PHP

Using [composer](https://getcomposer.org/doc/00-intro.md):

```bash
composer require acdh-oeaw/uri-norm-rules
```

# Usage

## Python

```Python
from AcdhUriNormRules import *
print(AcdhUriNormRules.getRules())

```

## PHP

```php
require_once 'vendor/autoload.php';
print_r(acdhOeaw\UriNormRules::getRules());
```


