Skip to main content

A set of URI normalization rules used by the ACDH

Project description

UriNormRules

PyPI version Latest Stable Version License

Set of URI normalization rules used within the ACDH-CD.

Provides Python 3 and PHP bindings.

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

Installation & usage

Python

  • Install using pip3:
    pip3 install acdh_uri-norm-rules
    
  • Use with
    from AcdhUriNormRules import *
    print(AcdhUriNormRules.getRules())
    

PHP

  • Install using using composer:
    composer require acdh-oeaw/uri-norm-rules
    
  • Usage with
    require_once 'vendor/autoload.php';
    print_r(acdhOeaw\UriNormRules::getRules());
    

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

acdh_uri-norm-rules-1.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

acdh_uri_norm_rules-1.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file acdh_uri-norm-rules-1.1.0.tar.gz.

File metadata

  • Download URL: acdh_uri-norm-rules-1.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.4

File hashes

Hashes for acdh_uri-norm-rules-1.1.0.tar.gz
Algorithm Hash digest
SHA256 b8d2458e8e5149957c7eae25c699cacf7f032289d88e81d707509c5c63c55925
MD5 278f93def8cd08e5ad5dfefd6154fb79
BLAKE2b-256 82e5064162003a0cea91b971225ed348dbc01154e4d927732f2d053b058cd2a7

See more details on using hashes here.

File details

Details for the file acdh_uri_norm_rules-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: acdh_uri_norm_rules-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.4

File hashes

Hashes for acdh_uri_norm_rules-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 145f065b535c077b6bab755f1933792e9a8e4d9933cb7e3ec5cd1727ebcd142b
MD5 06a09521f3d6c7d1a0cd7717dd71f3ee
BLAKE2b-256 065e986942eb2ad2b6fa1d49c939479aa6b3bd776493c7459972d71ee229a3a7

See more details on using hashes here.

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