معرفی شرکت ها


cpputils-1.4.2


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

CPP-Utils Python Package for string and file operations
ویژگی مقدار
سیستم عامل -
نام فایل cpputils-1.4.2
نام cpputils
نسخه کتابخانه 1.4.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده sgeist
ایمیل نویسنده semjon.geist@ionos.com
آدرس صفحه اصلی https://github.com/semmjon/cpputils.git
آدرس اینترنتی https://pypi.org/project/cpputils/
مجوز -
CPP-Utils Python Package =========== [![cpputils](https://gitlab.blubblub.tech/sgeist/cpputils/badges/main/pipeline.svg)](https://gitlab.blubblub.tech/sgeist/cpputils.git) ## Information This package was created by starting C ++ methods to incorporate into my python implementations. To make things easier for me, lightweight public libraries were included (especially to carry out string operations): - hash-library - strtk The following methods have currently been implemented: - ini_load (flexible and ligthweigh ini to dict parser, Faster Than Configparser) - eval_type (method to parse strings in python-types e.g. int | bool | timestamp - simple_hmac (vectorized c++ hmac implementation) - default_ca_path (python function to find a default ssl / ca certificate path) In the future the following will be implemented: - more hash methods - c++ optimized grep methods - c++ optimized url-tools methods Currently, the package was only tested for Linux ## Usage ```python from cpputils import ini_load, default_ca_path, eval_type ini_load(files={"s3_configs": ["examples/config/aws_config", "examples/config/aws_credentials", "examples/config/.s3cfg"]}, sections=["default", "qa"], keys={"signurl_use_https": ["signurl_use_https"], "aws_access_key_id": ["access_key"], "aws_secret_access_key": ["secret_key"], "endpoint_url": ["endpoint-url", "host_base"], "region_name": ["bucket_location", "region", "aws_default_region"], "service_name": ["service_name"], "verify": ["ca_certs", "aws_ca_bundle", "ca_bundle"],}, defaults={ "region_name": "us-east-1", "signurl_use_https": True, "verify": default_ca_path(), "service_name": "s3", }) ``` ## Installation ```bash pip install cpputils ``` ## Development ### Prerequisites * A compiler with C++17 support * Pip 10+ or CMake >= 3.4 (or 3.8+ on Windows, which was the first version to support VS 2015) * Ninja or Pip 3.8+ ### Installation Just clone this repository and pip install. Note the `--recursive` option which is needed for the pybind11 submodule: ```bash git clone --recursive https://gitlab.blubblub.tech/sgeist/cpputils.git pip install . ``` ### Publish ```bash twine upload -r pypi $(ls dist/cpputils-1.0.0-*.whl) --verbose ```


نیازمندی

مقدار نام
~=1.0.9 Brotli
~=37.0.4 cryptography
~=23.7.0 keyring
>=6.0 pytest


زبان مورد نیاز

مقدار نام
>=3.8 Python


نحوه نصب


نصب پکیج whl cpputils-1.4.2:

    pip install cpputils-1.4.2.whl


نصب پکیج tar.gz cpputils-1.4.2:

    pip install cpputils-1.4.2.tar.gz