GitHub - python/pythoncapi-compat: The pythoncapi-compat project can be used to write a C extension supporting a wide range of Python versions with a single code base.
Repository navigation
pythoncapi-compatPublic
About
The pythoncapi-compat project can be used to write a C extension supporting a wide range of Python versions with a single code base.
pythoncapi-compat.readthedocs.io/Resources
Readme 0BSD licenseCode of conduct
Code of conductSecurity policy
Security policy Activity Custom propertiesStars
112 starsWatchers
8 watchingForks
45 forks Report repositoryBranches
Tags
Go to Branches page Go to Tags page
Latest commit
History
297 Commits
View commit history for this file.
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|---|---|---|
| .github/ workflows | .github/ workflows | ||
| docs | docs | ||
| tests | tests | ||
| .gitignore | .gitignore | ||
| .readthedocs.yaml | .readthedocs.yaml | ||
| CODE_OF_CONDUCT.md | CODE_OF_CONDUCT.md | ||
| COPYING | COPYING | ||
| README.rst | README.rst | ||
| meson.build | meson.build | ||
| pythoncapi_compat.h | pythoncapi_compat.h | ||
| runtests.py | runtests.py | ||
Repository files navigation
Python C API compatibility
The pythoncapi-compat project can be used to write a C or C++ extension
supporting a wide range of Python versions with a single code base. It is made
of the pythoncapi_compat.h header file.
See the documentation at ReadTheDocs for more details.
This project is distributed under the Zero Clause BSD (0BSD) license and is covered by the PSF Code of Conduct .
About
The pythoncapi-compat project can be used to write a C extension supporting a wide range of Python versions with a single code base.
pythoncapi-compat.readthedocs.io/