Skip to main content

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


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.18.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

dduk_core-0.0.18-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file dduk_core-0.0.18.tar.gz.

File metadata

  • Download URL: dduk_core-0.0.18.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for dduk_core-0.0.18.tar.gz
Algorithm Hash digest
SHA256 d8bc9b9795be5a5653bb7a3aba4ad05c4d5d1bc49da3178c991cee6830af2620
MD5 246b52065dd0874d3a1d967b62ae240e
BLAKE2b-256 a67e08c8428488e0e85580acd92176543256e3b506c6900db4852309e7caeb5e

See more details on using hashes here.

File details

Details for the file dduk_core-0.0.18-py3-none-any.whl.

File metadata

  • Download URL: dduk_core-0.0.18-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for dduk_core-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 bfe0c2826eaf1bac8607d48d179749ac83440801df3b64ff2c5e195a48b4d8ca
MD5 0203665ce65d24c98abd20ad3a75d6c5
BLAKE2b-256 9fd38440fbb67ab37d7dc1302e8d65ac10f742ccdf1ce5ac5638675d871fdd26

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page