GitXplorerGitXplorer
e

py3c

public
61 stars
19 forks
8 issues

Commits

List of commits on branch master.
Unverified
a5867637d19da7b3d6595216f91fe6c38020fdb6

Fix a typo in the documentation

jjonasdlindner committed 6 months ago
Unverified
e3a41d8fb343d51e91b1efbedfb6da17f662a2c5

Switch tox-github-action from master to main branch

ffrenzymadness committed 2 years ago
Unverified
2bc618d3a0bd5352d94c376721d9987fba780a12

Add `pyproject.toml` according to `PEP 517`

KKOLANICH committed 2 years ago
Unverified
b367399bd62c22a33f64f1ed8bc88502f093bb59

Fix CI for 3.5 and 3.6

KKOLANICH committed 2 years ago
Unverified
8578182d3229cdf21cd148b73b61d94dbb583114

Add `project_urls` adding additional links to PyPI.

KKOLANICH committed 2 years ago
Unverified
872af3fa67b8f3a0c2b7f29d46e9d97d602f146b

Add a test for Python 3.4

eencukou committed 3 years ago

README

The README file for this repository.

py3c

py3c helps you port C extensions to Python 3.

It provides a detailed guide, and a set of macros to make porting easy and reduce boilerplate.

Design principles

  • Reduce chances of accidental subtle errors
  • Minimize boilerplate
  • Prefer the Python 3 way of doing things
  • Minimize semantic changes under Python 2

Versions

Projects using py3c will be compatible with CPython 2.6, 2.7, and 3.3+.

Guides

A detailed porting guide_ is provided.

A cheatsheet_ is available for those that already know the Python C API, and want to know what the py3c macros do.

.. _porting guide: http://py3c.readthedocs.org/en/latest/guide.html .. _cheatsheet: http://py3c.readthedocs.org/en/latest/cheatsheet.html

Installation

If your build system supports pkg-config, you can set it up to look for a system-wide installation of py3c.

Alternately, py3c can be used as a header-only library: copy the headers to your project and use them.

If you wish to install py3c system-wide (e.g. if you are a distro packager), see the Contributing_ chapter in the documentation.

.. _Contributing: http://py3c.readthedocs.org/en/latest/contributing.html

Contribute

License

The code is licensed under the MIT license. May it serve you well.

The documentation is licensed under CC-BY-SA 3.0.

See the files LICENSE.MIT and doc/LICENSE.CC-BY-SA-3.0.