Sign In

bigtime

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Malware was recently detected in this package.

Affected versions:

0.1.0

bigtime

Gercek `time` kutuphanesinin birebir taklitcisi (proxy/wrapper). Ne yazarsan gercek time'a iletilir.

pipPyPI
Version
0.1.0
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created

bigtime

Gercek Python time kutuphanesinin birebir taklitcisi (proxy / wrapper).

bigtime paketine ne yazarsan yaz, istek dogrudan gercek time modulune iletilir. Yani bigtime kutuphanesi, asil time kutuphanesi gibi calisir.

Kurulum

pip install bigtime

Kullanim

import bigtime

bigtime.sleep(1)              # gercek time.sleep'e gider
print(bigtime.time())         # gercek time.time()
print(bigtime.ctime())        # gercek time.ctime()
print(bigtime.strftime("%H:%M:%S"))
print(bigtime.localtime())

Pakette olmayan herhangi bir isim yazarsan da __getattr__ sayesinde otomatik olarak gercek time'e yonlendirilir.

Nasil calisir?

  • from time import * ile butun mevcut isimler yeniden disa aktarilir.
  • __getattr__ ile bilinmeyen isimler getattr(time, name) ile gercek module iletilir.
  • Boylece paket, bir proxy gibi butun cagrilari asil kutuphaneye iletir.

PyPI'ya yukleme

pip install build twine
python -m build
twine upload dist/*

Keywords

time

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts