# Tecoradors
Python decorators that I like to use a lot.
[Find the github repo here](https://github.com/elunico/tecoradors)
[Find the pypi package here](https://pypi.org/project/tecoradors-elunico/)
Named based on my name which starts with a T. You can find more information reading the docstrings of the functions.
**Information on how to use these decorators can be found in their docstring**
Using `help(tecorador)` is a good way to learn about them. You can also read their docs on Github
### Decorators are
- Enforcer ***(new in 7.0.0!)**: subclassable and customizable annotation type checking enforcer: pass instance to @enforce_annotations decorator to customize its behavior
- CompositeEnforcer ***(new in 7.0.0!)**: Allows multiple Enforcer objects to work together in sequence*
- ~~EnforceAnnotations~~ ***(Removed in 7.0.0)**: use pluggable Enforcer objects and @enforce_annotations function decorator*
- enforce_annotations ***(new in 6.3.0!)**: Enforces type annotations on arguments and return types at runtime. Replaces @accepts and @returns. Customizable with custom Enforcer sublcasses
- deprecated
- accepts
- returns
- interruptable
- json_serializable
- spread
- builder
- tattle
- timed
- squash
- stringable
- equatable
- hashable
- orderable
- dataclass
- final
- freeze
- log
- synchronized
- count_calls
- lazy
- precompute
- resultify
- exc_to_bool
### Support from types
- Self
- PredicateType
- TattleOptions
- FrozenClassError
- PrecomputeStorage
- NoSuchValue
Raw data
{
"_id": null,
"home_page": "https://github.com/elunico/tecoradors",
"name": "tecoradors-elunico",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": null,
"author": "Thomas Povinelli",
"author_email": "tompov227@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/c2/be/5253525d379dae1ff204704369cf8c07c62ed018355feb86b74423082bc9/tecoradors_elunico-8.2.2.tar.gz",
"platform": null,
"description": "# Tecoradors\n\nPython decorators that I like to use a lot.\n\n[Find the github repo here](https://github.com/elunico/tecoradors)\n\n[Find the pypi package here](https://pypi.org/project/tecoradors-elunico/)\n\nNamed based on my name which starts with a T. You can find more information reading the docstrings of the functions.\n\n**Information on how to use these decorators can be found in their docstring**\nUsing `help(tecorador)` is a good way to learn about them. You can also read their docs on Github\n\n### Decorators are\n\n- Enforcer ***(new in 7.0.0!)**: subclassable and customizable annotation type checking enforcer: pass instance to @enforce_annotations decorator to customize its behavior\n- CompositeEnforcer ***(new in 7.0.0!)**: Allows multiple Enforcer objects to work together in sequence*\n- ~~EnforceAnnotations~~ ***(Removed in 7.0.0)**: use pluggable Enforcer objects and @enforce_annotations function decorator*\n- enforce_annotations ***(new in 6.3.0!)**: Enforces type annotations on arguments and return types at runtime. Replaces @accepts and @returns. Customizable with custom Enforcer sublcasses\n- deprecated\n- accepts\n- returns\n- interruptable\n- json_serializable\n- spread\n- builder\n- tattle\n- timed\n- squash\n- stringable\n- equatable\n- hashable\n- orderable\n- dataclass\n- final\n- freeze\n- log\n- synchronized\n- count_calls\n- lazy\n- precompute\n- resultify\n- exc_to_bool\n\n### Support from types\n\n- Self\n- PredicateType\n- TattleOptions\n- FrozenClassError\n- PrecomputeStorage\n- NoSuchValue\n",
"bugtrack_url": null,
"license": null,
"summary": "A small collection of decorators I like to use often",
"version": "8.2.2",
"project_urls": {
"Homepage": "https://github.com/elunico/tecoradors"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0ad4b1030ea7748569e5c0713fa26b82e0d373296f6abd523d77ce6259eec184",
"md5": "520fd686b27d21dd08de2bc6272eea9b",
"sha256": "a26eec3ef9a6dd867bd38a8e1bea4becc38a3013d8d697fa36f329b7a811cbc0"
},
"downloads": -1,
"filename": "tecoradors_elunico-8.2.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "520fd686b27d21dd08de2bc6272eea9b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 19558,
"upload_time": "2024-11-23T05:36:11",
"upload_time_iso_8601": "2024-11-23T05:36:11.055798Z",
"url": "https://files.pythonhosted.org/packages/0a/d4/b1030ea7748569e5c0713fa26b82e0d373296f6abd523d77ce6259eec184/tecoradors_elunico-8.2.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c2be5253525d379dae1ff204704369cf8c07c62ed018355feb86b74423082bc9",
"md5": "828c4953b5c36c55698077694738c19a",
"sha256": "0db05dabeb9e65759952efaba13179f21b0ec3a639edaeea7b3072b027f9f934"
},
"downloads": -1,
"filename": "tecoradors_elunico-8.2.2.tar.gz",
"has_sig": false,
"md5_digest": "828c4953b5c36c55698077694738c19a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 20562,
"upload_time": "2024-11-23T05:36:12",
"upload_time_iso_8601": "2024-11-23T05:36:12.490882Z",
"url": "https://files.pythonhosted.org/packages/c2/be/5253525d379dae1ff204704369cf8c07c62ed018355feb86b74423082bc9/tecoradors_elunico-8.2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-23 05:36:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "elunico",
"github_project": "tecoradors",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "tecoradors-elunico"
}