Metadata-Version: 2.3
Name: rs-chardet
Version: 0.2.2
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
License-File: LICENSE.txt
Author: Evan Mattiza
License: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: homepage, https://github.com/emattiza/rs_chardet
Project-URL: documentation, https://github.com/emattiza/rs_chardet/README.md
Project-URL: repository, https://github.com/emattiza/rs_chardet

# rs-chardet
![CI](https://github.com/emattiza/rs_chardet/actions/workflows/release.yaml/badge.svg)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/emattiza/rs_chardet/blob/master/LICENSE.txt)

This is a thin wrapper utilizing [chardet-ng] for character encoding detection.

## Benchmarking
### Results

| Library    | Version | Rate (call(s)/s)    |
|------------|---------|---------------------|
| chardet    | v5.1.0  | 0.20407073211428026 |
| rs_chardet | v0.1.1  | 25.446704726774133  |
| cchardet   | v2.1.18 | 917.8711484593837   |

### Benchmark System Information: 
[benchmark-py]
Hetzner CPX31 (4vCPU, 8GB Ram) in the US


[chardet-ng]: https://github.com/hsivonen/chardetng
[benchmark-py]: ./benchmark/bench.py

