Python SDK for database encryption/decryption via Java bridge server
Project description
INISafeDB SDK (Python)
데이터베이스 암호화를 위한 Python 클라이언트 라이브러리
개요
Java Bridge Server를 호출하여 데이터베이스 암호화/복호화 기능을 제공하는 Python SDK입니다.
기술 스택
- Python 3.8+
- Poetry (패키지 관리)
- requests (HTTP 클라이언트)
설치
pip install ini-safedb-sdk
사용 예제
from ini_safedb_sdk import INISafeDBSDK
# 클라이언트 초기화
with INISafeDBSDK(base_url="http://localhost:9081") as client:
# 암호화
encrypted = client.encrypt("user1", "users", "ssn", b"123-45-6789")
# 복호화
decrypted = client.decrypt("user1", "users", "ssn", encrypted)
print(decrypted.decode('utf-8'))
시작하기
상세한 개발 가이드는 PHASE2_PYTHON_SDK.md를 참조하세요.
개발
# 의존성 설치
poetry install
# 테스트
poetry run pytest
# 빌드
poetry build
PyPI 배포
poetry publish
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ini_safedb_sdk-1.0.0.tar.gz
(5.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ini_safedb_sdk-1.0.0.tar.gz.
File metadata
- Download URL: ini_safedb_sdk-1.0.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.0 CPython/3.10.13 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5a701c75e122e131c3a1461c941c3a26b4f10176197896679214aec8952041e
|
|
| MD5 |
3c85ff6f5247156c95611a2fd197238c
|
|
| BLAKE2b-256 |
27476e39d4aa2bd50060ae80c6093e4363e935cae734fb565a2b3f90133f80aa
|
File details
Details for the file ini_safedb_sdk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: ini_safedb_sdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.0 CPython/3.10.13 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2befa6262e6a1c350a8084d8f94e7c8533dad9ce4e34d0a9f8a3e6bdaa9435a2
|
|
| MD5 |
e2b40a91265b78f3eef9916d14755230
|
|
| BLAKE2b-256 |
10e4a32b6537869ea25766702951481ce7c4f19e9d3c4d03c4020882ae7f4ca3
|