Deploy site
This commit is contained in:
@ -0,0 +1 @@
|
||||
pip
|
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2016 Tsuyoshi Hombashi
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
@ -0,0 +1,130 @@
|
||||
Metadata-Version: 2.2
|
||||
Name: mbstrdecoder
|
||||
Version: 1.1.4
|
||||
Summary: mbstrdecoder is a Python library for multi-byte character string decoder
|
||||
Home-page: https://github.com/thombashi/mbstrdecoder
|
||||
Author: Tsuyoshi Hombashi
|
||||
Author-email: tsuyoshi.hombashi@gmail.com
|
||||
License: MIT License
|
||||
Project-URL: Changelog, https://github.com/thombashi/mbstrdecoder/releases
|
||||
Project-URL: Source, https://github.com/thombashi/mbstrdecoder
|
||||
Project-URL: Tracker, https://github.com/thombashi/mbstrdecoder/issues
|
||||
Keywords: multi-byte character,unicode,decoder
|
||||
Classifier: Development Status :: 5 - Production/Stable
|
||||
Classifier: Intended Audience :: Developers
|
||||
Classifier: Intended Audience :: Information Technology
|
||||
Classifier: License :: OSI Approved :: MIT License
|
||||
Classifier: Operating System :: OS Independent
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
Classifier: Programming Language :: Python :: 3.9
|
||||
Classifier: Programming Language :: Python :: 3.10
|
||||
Classifier: Programming Language :: Python :: 3.11
|
||||
Classifier: Programming Language :: Python :: 3.12
|
||||
Classifier: Programming Language :: Python :: 3.13
|
||||
Classifier: Programming Language :: Python :: Implementation :: CPython
|
||||
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
||||
Classifier: Topic :: Software Development :: Libraries
|
||||
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
||||
Classifier: Topic :: Text Processing
|
||||
Requires-Python: >=3.9
|
||||
Description-Content-Type: text/x-rst
|
||||
License-File: LICENSE
|
||||
Requires-Dist: chardet<6,>=3.0.4
|
||||
Provides-Extra: test
|
||||
Requires-Dist: Faker>=1.0.2; extra == "test"
|
||||
Requires-Dist: pytest>=6.0.1; extra == "test"
|
||||
Requires-Dist: pytest-md-report>=0.6.2; extra == "test"
|
||||
Dynamic: author
|
||||
Dynamic: author-email
|
||||
Dynamic: classifier
|
||||
Dynamic: description
|
||||
Dynamic: description-content-type
|
||||
Dynamic: home-page
|
||||
Dynamic: keywords
|
||||
Dynamic: license
|
||||
Dynamic: project-url
|
||||
Dynamic: provides-extra
|
||||
Dynamic: requires-dist
|
||||
Dynamic: requires-python
|
||||
Dynamic: summary
|
||||
|
||||
.. contents:: **mbstrdecoder**
|
||||
:backlinks: top
|
||||
:local:
|
||||
|
||||
|
||||
Summary
|
||||
=======
|
||||
`mbstrdecoder <https://github.com/thombashi/mbstrdecoder>`__ is a Python library for multi-byte character string decoder.
|
||||
|
||||
|
||||
.. image:: https://badge.fury.io/py/mbstrdecoder.svg
|
||||
:target: https://badge.fury.io/py/mbstrdecoder
|
||||
:alt: PyPI package version
|
||||
|
||||
.. image:: https://img.shields.io/pypi/pyversions/mbstrdecoder.svg
|
||||
:target: https://pypi.org/project/mbstrdecoder
|
||||
:alt: Supported Python versions
|
||||
|
||||
.. image:: https://img.shields.io/pypi/implementation/mbstrdecoder.svg
|
||||
:target: https://pypi.org/project/mbstrdecoder
|
||||
:alt: Supported Python implementations
|
||||
|
||||
.. image:: https://github.com/thombashi/mbstrdecoder/actions/workflows/ci.yml/badge.svg
|
||||
:target: https://github.com/thombashi/mbstrdecoder/actions/workflows/ci.yml
|
||||
:alt: CI status of Linux/macOS/Windows
|
||||
|
||||
.. image:: https://coveralls.io/repos/github/thombashi/mbstrdecoder/badge.svg?branch=master
|
||||
:target: https://coveralls.io/github/thombashi/mbstrdecoder?branch=master
|
||||
:alt: Test coverage
|
||||
|
||||
.. image:: https://github.com/thombashi/mbstrdecoder/actions/workflows/github-code-scanning/codeql/badge.svg
|
||||
:target: https://github.com/thombashi/mbstrdecoder/actions/workflows/github-code-scanning/codeql
|
||||
:alt: CodeQL
|
||||
|
||||
|
||||
Installation
|
||||
============
|
||||
|
||||
Install from PyPI
|
||||
------------------------------
|
||||
::
|
||||
|
||||
pip install mbstrdecoder
|
||||
|
||||
Install from PPA (for Ubuntu)
|
||||
------------------------------
|
||||
::
|
||||
|
||||
sudo add-apt-repository ppa:thombashi/ppa
|
||||
sudo apt update
|
||||
sudo apt install python3-mbstrdecoder
|
||||
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
:Sample Code:
|
||||
.. code:: python
|
||||
|
||||
from mbstrdecoder import MultiByteStrDecoder
|
||||
|
||||
encoded_multibyte_text = "マルチバイト文字".encode("utf-8")
|
||||
decoder = MultiByteStrDecoder(encoded_multibyte_text)
|
||||
|
||||
print("encoded bytes: {}".format(encoded_multibyte_text))
|
||||
print("unicode: {}".format(decoder.unicode_str))
|
||||
print("codec: {}".format(decoder.codec))
|
||||
|
||||
:Output:
|
||||
::
|
||||
|
||||
encoded bytes: b'\xe3\x83\x9e\xe3\x83\xab\xe3\x83\x81\xe3\x83\x90\xe3\x82\xa4\xe3\x83\x88\xe6\x96\x87\xe5\xad\x97'
|
||||
unicode: マルチバイト文字
|
||||
codec: utf_8
|
||||
|
||||
|
||||
Dependencies
|
||||
============
|
||||
- Python 3.9+
|
||||
- `Python package dependencies (automatically installed) <https://github.com/thombashi/mbstrdecoder/network/dependencies>`__
|
@ -0,0 +1,17 @@
|
||||
mbstrdecoder-1.1.4.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
mbstrdecoder-1.1.4.dist-info/LICENSE,sha256=dYgmUILu1en0r9UJDFfmELdA7FR7Fqqqtzm6B8Xu-xU,1074
|
||||
mbstrdecoder-1.1.4.dist-info/METADATA,sha256=w6809Ma7MwoF172f6rtiYfVBYC3dSHl7g8Z0ixZhMns,4324
|
||||
mbstrdecoder-1.1.4.dist-info/RECORD,,
|
||||
mbstrdecoder-1.1.4.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
||||
mbstrdecoder-1.1.4.dist-info/top_level.txt,sha256=3y6PBjWqWXF9e7O35XqgW93XW_H9qgTn9hAdzSurYi8,13
|
||||
mbstrdecoder/__init__.py,sha256=PxnzGe3PGQin5go9OetP3JudLVAEYcCm9cgKE-u4HaI,413
|
||||
mbstrdecoder/__pycache__/__init__.cpython-39.pyc,,
|
||||
mbstrdecoder/__pycache__/__version__.cpython-39.pyc,,
|
||||
mbstrdecoder/__pycache__/_binary_ext_checker.cpython-39.pyc,,
|
||||
mbstrdecoder/__pycache__/_func.cpython-39.pyc,,
|
||||
mbstrdecoder/__pycache__/_mbstrdecoder.cpython-39.pyc,,
|
||||
mbstrdecoder/__version__.py,sha256=9uiRn0UjGmimLdMei8SZQr51ivxfcjH2E7poFlRv5Ls,263
|
||||
mbstrdecoder/_binary_ext_checker.py,sha256=9sw0C93xqgSLh4tZ1ZDvJ9YuU8OawGoLfSO_dDJ386U,3145
|
||||
mbstrdecoder/_func.py,sha256=hKIuRBCMFedtn4dJ5xlA2CNTxCDTZ5-0OK_kKWTL4Ug,1355
|
||||
mbstrdecoder/_mbstrdecoder.py,sha256=-Em6JE36aI-5zIeO8rm4_VPifMD1Z8hTGUoJTmvgRag,7465
|
||||
mbstrdecoder/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@ -0,0 +1,5 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: setuptools (75.8.0)
|
||||
Root-Is-Purelib: true
|
||||
Tag: py3-none-any
|
||||
|
@ -0,0 +1 @@
|
||||
mbstrdecoder
|
Reference in New Issue
Block a user