ContextM-1.0.0
توضیحات
Helps in the process of creating a context manager
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | ContextM-1.0.0 |
| نام | ContextM |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | hunterg |
| ایمیل نویسنده | redissuslolol@gmail.com |
| آدرس صفحه اصلی | https://www.beyonce.com |
| آدرس اینترنتی | https://pypi.org/project/ContextM/ |
| مجوز | - |
# ContextM
##### *My package does this*
### Instillation
python -m pip install contextM
### Usage
import contextM
class my_context_manager(contextM.ContextManager):
def __init__(self, var):
self.var = var
def __enter__(self):
print('Enter!')
return self
def __exit__(self, *args, **kwargs):
print('Exit!')
### Features
ContextManager class:
* See Implementation Above
نیازمندی
| مقدار | نام |
|---|---|
| - | decorate-all-methods |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl ContextM-1.0.0:
pip install ContextM-1.0.0.whl
نصب پکیج tar.gz ContextM-1.0.0:
pip install ContextM-1.0.0.tar.gz