{"id":20561021,"url":"https://github.com/vbe0201/better-contextvars","last_synced_at":"2026-06-10T09:31:48.818Z","repository":{"id":109610357,"uuid":"163197109","full_name":"vbe0201/better-contextvars","owner":"vbe0201","description":"contextvars is a great module. Let's make it compatible to Python 3.5+.","archived":false,"fork":false,"pushed_at":"2018-12-26T22:19:56.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-06T07:50:50.433Z","etag":null,"topics":["contextvars","python-utility","python3","tools","utility"],"latest_commit_sha":null,"homepage":"https://www.python.org/dev/peps/pep-0567","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vbe0201.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-26T16:14:16.000Z","updated_at":"2019-04-16T10:43:00.000Z","dependencies_parsed_at":"2023-06-19T06:26:16.237Z","dependency_job_id":null,"html_url":"https://github.com/vbe0201/better-contextvars","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vbe0201/better-contextvars","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbe0201%2Fbetter-contextvars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbe0201%2Fbetter-contextvars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbe0201%2Fbetter-contextvars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbe0201%2Fbetter-contextvars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vbe0201","download_url":"https://codeload.github.com/vbe0201/better-contextvars/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbe0201%2Fbetter-contextvars/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34146871,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["contextvars","python-utility","python3","tools","utility"],"created_at":"2024-11-16T03:56:32.978Z","updated_at":"2026-06-10T09:31:48.787Z","avatar_url":"https://github.com/vbe0201.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"========================\n~~ Better Contextvars ~~\n========================\n\n.. image:: https://img.shields.io/badge/Python-3.5%20|%203.6%20|%203.7-blue.svg\n    :target: https://www.python.org\n\n.. image:: https://travis-ci.com/itsVale/better-contextvars.svg?branch=master\n    :target: https://travis-ci.com/itsVale/better-contextvars\n\n.. image:: https://api.codacy.com/project/badge/Grade/0a4eb517bdcd4618947bfa56e73e1282\n    :target: https://www.codacy.com/app/itsVale/better-contextvars?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=itsVale/better-contextvars\u0026amp;utm_campaign=Badge_Grade\n\n.. image:: https://api.codacy.com/project/badge/Coverage/0a4eb517bdcd4618947bfa56e73e1282\n    :target: https://www.codacy.com/app/itsVale/better-contextvars?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=itsVale/better-contextvars\u0026amp;utm_campaign=Badge_Coverage\n\n.. image:: https://api.codeclimate.com/v1/badges/20552710af9220ac17c2/maintainability\n   :target: https://codeclimate.com/github/itsVale/better-contextvars/maintainability\n\n.. image:: https://img.shields.io/github/issues/itsVale/better-contextvars.svg\n    :target: https://GitHub.com/itsVale/better-contextvars/issues\n\n.. image:: https://img.shields.io/badge/License-MIT-blue.svg\n    :target: http://perso.crans.org/besson/LICENSE.html\n\nAbout this project\n##################\n\nThis project implements a backport of the `PEP 567 contextvars \u003chttps://www.python.org/dev/peps/pep-0567\u003e`_ module from Python 3.7 for Python 3.5+.\nIt is a full implementation of the original contextvars module with the same features.\n\nInstallation\n############\n\nInstallation is very easy. Either install it from PyPI or directly from GitHub:\n\n.. code-block::\n\n    $ pip3 install -U better-contextvars\n    $ pip3 install -U git+https://github.com/itsVale/better-contextvars#egg=better-contextvars\n\n    $ git clone https://github.com/itsVale/better-contextvars\n    $ python3 setup.py install\n\nDocumentation\n#############\n\nAs stated above, this is an exact representation of the original contextvars module.\nBecause of that, it is totally fine to use the `official documentation for contextvars \u003chttps://docs.python.org/3/library/contextvars.html\u003e`_.\n\n`PEP 567 \u003chttps://www.python.org/dev/peps/pep-0567\u003e`_ provides a comprehensive overview of the API.\n\nUsage\n#####\n\nYou use it the same way as the original module.\n\n.. code-block:: python\n\n    import better_contextvars as contextvars\n\n    var = contextvars.ContextVar('test')\n    ...\n\nFor more usage examples, have a look at tests_.\n\n.. _tests: https://github.com/itsVale/better-contextvars/tree/master/tests\n\nContributing\n############\n\nIf you decide to contribute, please always lint your code. The preferred linter is `pylama \u003chttps://github.com/klen/pylama\u003e`_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbe0201%2Fbetter-contextvars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvbe0201%2Fbetter-contextvars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbe0201%2Fbetter-contextvars/lists"}