pyd_tpl
Python的C接口模板,安装后使用如下的命令进行生成:
pyd_tpl module_name=Animal --class-name=Cat
将生成Animal模块Cat类
changelog
- 2022-01-15
新增函数get_c_string(将Python转换为char)和print(打印PyObject*)
调用方法如下:
PyObject* a;
if (!PyArg_ParseTuple(args,"U",&a))
{
return NULL;
}
const char* s = get_c_string(a);
printf("%s\n", s);
print(a);
Metadata
Release files for pyd-tpl 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyd_tpl-0.1.3.tar.gz | 4.6 kB | Without provenance | Details for pyd_tpl-0.1.3.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyd_tpl-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for pyd_tpl-0.1.3-py3-none-any.whl |
| pyd_tpl-0.1.3-py2-none-any.whl | Python 2 | none | any | Details for pyd_tpl-0.1.3-py2-none-any.whl |
Total release size: 30.3 kB
Release files / pyd_tpl-0.1.3.tar.gz
| Download URL | pyd_tpl-0.1.3.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80b3a52f4e3b94c7fc18b56d3a60f8e05b25f7ace598c9ecc4639fd06c30a99d
|
|
BLAKE2b-256 checksum How to use checksums |
529b1c74c87f404909ab4e38877f46da03099ac5ece09285519904acb57b6d83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.7
|
Release files / pyd_tpl-0.1.3-py3-none-any.whl
| Download URL | pyd_tpl-0.1.3-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
740e68052ec0a3e43579f7cf545b2b1fb1f93cf39964e58158cb01cb43e99e55
|
|
BLAKE2b-256 checksum How to use checksums |
f579e98dcc63af081d13a7cafd1e9c7c3981356b19e0fb2f9d85e174884ea260
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.7
|
Release files / pyd_tpl-0.1.3-py2-none-any.whl
| Download URL | pyd_tpl-0.1.3-py2-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
b3ca128906ae51263b2c7e054a6fe9f39ff37adc2f6dedab4b56aebd7995f563
|
|
BLAKE2b-256 checksum How to use checksums |
351be10baad8a2dc8bead19fce7caf31d72b32312243dbcd7aaa64bc9519cfa1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.7
|
Security for pyd-tpl 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.