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.16.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file dduk_core-0.0.16.tar.gz
.
File metadata
- Download URL: dduk_core-0.0.16.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90665e3886dd9744167c6e818e4e2547443e02e173c2b74cf80ff51c4c98fd38 |
|
MD5 | c29a261a63aba1c2597b835320519bfd |
|
BLAKE2b-256 | 1c2f60c7b0520979e7c4df9a244b31d92a5a1aa006a8e3deeed0fc9e315b4121 |
File details
Details for the file dduk_core-0.0.16-py3-none-any.whl
.
File metadata
- Download URL: dduk_core-0.0.16-py3-none-any.whl
- Upload date:
- Size: 6.3 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 | c2e67b186ec682eeb175d09c50451dbf8d2679c28854b8aff4f803204ca52730 |
|
MD5 | 34e8a66feb8aa80989804d35b60f1e71 |
|
BLAKE2b-256 | 21a17bb6d94def00b3966afd5443fec6b08f0f78b9fc7f22ef627e564674f405 |