Skip to main content

No project description provided

Project description

chardetng_py

PyPI Status Python Version License

Read the documentation at https://chardetng-py.readthedocs.io/ Tests

pre-commit Black

Features

Python binding for the chardetng character encoding detector.

Installation

You can install chardetng_py via pip from PyPI:

$ pip install chardetng-py

Or via poetry:

$ poetry add chardetng-py

Usage

The easiest way to get started is to use the decode method.

>>> import chardetng_py
>>> chardetng_py.decode(b'Jakby r\xeaka Boga')
'Jakby rêka Boga'

There is also a detect method available for compatability with chardet, but it will always report None for the language and a confidence value of 0.99.

>>> from chardetng_py.compat import detect
>>> detect(b'Jakby r\xeaka Boga')
{'encoding': 'cp1254', 'confidence': 0.99, 'language': None}

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the MIT license, chardetng_py is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Credits

This project was generated from @cjolowicz's Hypermodern Python Cookiecutter template.

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

chardetng_py-0.2.1.tar.gz (52.5 kB view hashes)

Uploaded Source

Built Distributions

chardetng_py-0.2.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (376.6 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

chardetng_py-0.2.1-pp39-pypy39_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl (440.1 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ s390x

chardetng_py-0.2.1-pp39-pypy39_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (390.7 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ppc64le

chardetng_py-0.2.1-pp39-pypy39_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (364.1 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARMv7l

chardetng_py-0.2.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (365.6 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

chardetng_py-0.2.1-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl (383.0 kB view hashes)

Uploaded PyPy manylinux: glibc 2.5+ i686

chardetng_py-0.2.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (377.0 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

chardetng_py-0.2.1-pp38-pypy38_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl (440.4 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ s390x

chardetng_py-0.2.1-pp38-pypy38_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (390.9 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ppc64le

chardetng_py-0.2.1-pp38-pypy38_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (364.3 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARMv7l

chardetng_py-0.2.1-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (365.8 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

chardetng_py-0.2.1-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.whl (383.1 kB view hashes)

Uploaded PyPy manylinux: glibc 2.5+ i686

chardetng_py-0.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (376.7 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

chardetng_py-0.2.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl (439.8 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ s390x

chardetng_py-0.2.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (390.7 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ppc64le

chardetng_py-0.2.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (365.7 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

chardetng_py-0.2.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl (383.3 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.5+ i686

chardetng_py-0.2.1-cp311-none-win_amd64.whl (304.8 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

chardetng_py-0.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (376.7 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

chardetng_py-0.2.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl (439.8 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ s390x

chardetng_py-0.2.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (390.7 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ppc64le

chardetng_py-0.2.1-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (364.2 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARMv7l

chardetng_py-0.2.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (365.7 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

chardetng_py-0.2.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl (383.3 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.5+ i686

chardetng_py-0.2.1-cp311-cp311-macosx_11_0_arm64.whl (353.9 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

chardetng_py-0.2.1-cp311-cp311-macosx_10_7_x86_64.whl (367.6 kB view hashes)

Uploaded CPython 3.11 macOS 10.7+ x86-64

chardetng_py-0.2.1-cp310-none-win_amd64.whl (304.8 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

chardetng_py-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (376.7 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

chardetng_py-0.2.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl (439.8 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ s390x

chardetng_py-0.2.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (390.7 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ppc64le

chardetng_py-0.2.1-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (364.2 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARMv7l

chardetng_py-0.2.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (365.7 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

chardetng_py-0.2.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl (383.3 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.5+ i686

chardetng_py-0.2.1-cp310-cp310-macosx_11_0_arm64.whl (353.9 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

chardetng_py-0.2.1-cp310-cp310-macosx_10_7_x86_64.whl (367.6 kB view hashes)

Uploaded CPython 3.10 macOS 10.7+ x86-64

chardetng_py-0.2.1-cp39-none-win_amd64.whl (305.0 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

chardetng_py-0.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (376.9 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

chardetng_py-0.2.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl (440.1 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ s390x

chardetng_py-0.2.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (391.1 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ppc64le

chardetng_py-0.2.1-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (364.4 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARMv7l

chardetng_py-0.2.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (366.1 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

chardetng_py-0.2.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl (383.4 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.5+ i686

chardetng_py-0.2.1-cp38-none-win_amd64.whl (305.1 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

chardetng_py-0.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (376.4 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

chardetng_py-0.2.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl (440.3 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ s390x

chardetng_py-0.2.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (391.2 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ppc64le

chardetng_py-0.2.1-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (364.7 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARMv7l

chardetng_py-0.2.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (366.2 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

chardetng_py-0.2.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl (383.8 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.5+ i686

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page