معرفی شرکت ها


configparser-crypt-0.6.2


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Drop-in replacement for ConfigParser with encryption support
ویژگی مقدار
سیستم عامل -
نام فایل configparser-crypt-0.6.2
نام configparser-crypt
نسخه کتابخانه 0.6.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده NetInvent - Orsiris de Jong
ایمیل نویسنده contact@netinvent.fr
آدرس صفحه اصلی https://github.com/netinvent/configparser_crypt
آدرس اینترنتی https://pypi.org/project/configparser-crypt/
مجوز BSD
# configparser_crypt ## Drop-In replacement for ConfigParser with encrypted ini file support [![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause) [![Percentage of issues still open](http://isitmaintained.com/badge/open/netinvent/ofunctions.svg)](http://isitmaintained.com/project/netinvent/configparser_crypt "Percentage of issues still open") [![Maintainability](https://api.codeclimate.com/v1/badges/683f2fd6af8fc1c8de73/maintainability)](https://codeclimate.com/github/netinvent/configparser_crypt/maintainability) [![codecov](https://codecov.io/gh/netinvent/configparser_crypt/branch/master/graph/badge.svg?token=J7GMZYPYGQ)](https://codecov.io/gh/netinvent/configparser_crypt) [![linux-tests](https://github.com/netinvent/configparser_crypt/actions/workflows/linux.yaml/badge.svg)](https://github.com/netinvent/configparser_crypt/actions/workflows/linux.yaml) [![windows-tests](https://github.com/netinvent/configparser_crypt/actions/workflows/windows.yaml/badge.svg)](https://github.com/netinvent/configparser_crypt/actions/workflows/windows.yaml) [![GitHub Release](https://img.shields.io/github/release/netinvent/configparser_crypt.svg?label=Latest)](https://github.com/netinvent/configparser_crypt/releases/latest) configparser_crypt is a drop-in replacement for configparser, that allows to read / write encrypted configuration files. It is compatible with Python 3.5+ and is tested on both Linux and Windows. ## Setup ``` pip install configparser_crypt ``` ## Usage Just like configparser, except that we read/write binary files and have a AES key. configparser example ```diff -from configparser import ConfigParser +from configparser_crypt import ConfigParserCrypt file = 'config.ini' -conf_file = ConfigParser() +conf_file = ConfigParserCrypt() # Add some values to the file conf_file.add_section('TEST') conf_file['TEST']['spam'] = 'eggs' # Write config file -with open(file, 'w') as file_handle: - conf_file.write(file_handle) +with open(file, 'wb') as file_handle: + conf_file.write_encrypted(file_handle) # Read from config file -conf_file = ConfigParser() -conf_file.read(file) +conf_file = ConfigParserCrypt() +conf_file.aes_key = secure_key +conf_file.read_encrypted(file) # Check that config file contains 'spam = eggs' assert conf_file['TEST']['spam'] == 'eggs' ```


نیازمندی

مقدار نام
>=1.0.4 cryptidy


نحوه نصب


نصب پکیج whl configparser-crypt-0.6.2:

    pip install configparser-crypt-0.6.2.whl


نصب پکیج tar.gz configparser-crypt-0.6.2:

    pip install configparser-crypt-0.6.2.tar.gz