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
주요 기능
# 플랫폼 검사 기능.
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.17.tar.gz
(5.4 kB
view details)
Built Distribution
File details
Details for the file dduk_core-0.0.17.tar.gz
.
File metadata
- Download URL: dduk_core-0.0.17.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 575ef58948a99ff344ed2146344fa443fc2fb6d1290a3527f7df3ec44aad0fa3 |
|
MD5 | 815d3ceb30aa33f6b45abf08816e32ec |
|
BLAKE2b-256 | 27b6f6fdca0be06f53cef29a8b579e41ccf2b0d541adb7495a37f26bcfe42915 |
File details
Details for the file dduk_core-0.0.17-py3-none-any.whl
.
File metadata
- Download URL: dduk_core-0.0.17-py3-none-any.whl
- Upload date:
- Size: 6.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 | f985c51dad6db6f9d6fcfe095f9bb2a06cd86c35666f83a5981b1893d50fa4a4 |
|
MD5 | 523cf4094477a3b0ca3ab5252a1faff0 |
|
BLAKE2b-256 | 76de482d456c55f35c684a80e6b8e751b3b0c8e768e4806753f100f2f93a7f53 |