ddukbaek2 core library
Project description
dduk-core
개요
- 파이썬 dduk 라이브러리 시리즈에서 의존하는 공통 라이브러리.
개발환경
- OS: Windows 10 Pro / Windows 11 Pro
- Python: 3.12.4 (64-Bit)
- IDE: Visual Studio Code 1.92.1 (System Setup)
- Korean Language Pack for Visual Studio Code
- Python
- Python Debugger
- Pylance
배치파일
- environment.bat
- run.bat {venv|tests|clear|build|distribution}
- variable.bat
- venv.bat {create|destroy|enable|disable|update}
주요 기능
# 플랫폼 검사 기능.
from dduk.core import PlatformType, GetPlatformType
platformType : PlatformType = GetPlatformType()
if platformType == PlatformType.WINDOWS:
print("This is Windows OS")
# 공유 객체 기능. (Singleton)
from dduk.core import SharedClass
class NewClass(SharedClass): pass
instance1 = NewClass()
instance2 = NewClass()
if instance1 == instance2:
print("Equals Two Instances")
# 단일 객체 저장소 기능. (Singleton)
from dduk.core import Repository
class NewClass(SharedClass): pass
instance1 = Repository.Get(NewClass) # new
instance2 = Repository.Get(NewClass) # get
if instance1 == instance2:
print("Equals Two Instances")
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
dduk_core-0.0.30.tar.gz
(12.5 kB
view details)
Built Distribution
File details
Details for the file dduk_core-0.0.30.tar.gz
.
File metadata
- Download URL: dduk_core-0.0.30.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f8143d7f0cb603342f5221e0fd94f054602e918a361fed965e8b56ba91cced8 |
|
MD5 | 4cde7d8f9aaa7d9aa1f1061e8ea20b43 |
|
BLAKE2b-256 | 48b0c5b6a5c3f5e8e36b39b3acbf7790b78dac703634cdbbeac594a8f52a42b1 |
File details
Details for the file dduk_core-0.0.30-py3-none-any.whl
.
File metadata
- Download URL: dduk_core-0.0.30-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 580108769edabe7375a47f4217af6427f703019704b9ce5fb77d0be339377554 |
|
MD5 | 3497fcdadbc90af6f34e1350af19830e |
|
BLAKE2b-256 | fd4914b74983b111f98982af6e898255c4b294a2e366034178a48c899a519d3e |