cymove
This package is DEPRECATED since std::move support is merged to Cython and available as of v0.29.17 (2020-04-26).
cymove is a header (pxd) only wrapper around C++11 std::move function. It
allows using move semantics from cython code.
Installation
pip install cymove
Example Usage
example.pyx:
# distutils: language = c++
from libcpp.memory cimport make_shared, shared_ptr, nullptr
from cymove cimport cymove as move
cdef shared_ptr[int] ptr1, ptr2
cdef int* raw_ptr
ptr1 = make_shared[int](5)
raw_ptr = ptr1.get()
ptr2 = move(ptr1)
assert ptr2.get() == raw_ptr
assert ptr1 == nullptr
print("OK!")
Compile & run:
$ cythonize -3 -i example.pyx
$ python3 -c "import example"
OK!
Metadata
Release files for cymove 1.0.2
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 |
|---|---|---|---|---|
| cymove-1.0.2.tar.gz | 3.0 kB | Without provenance | Details for cymove-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cymove-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for cymove-1.0.2-py3-none-any.whl |
Total release size: 6.2 kB
Release files / cymove-1.0.2.tar.gz
| Download URL | cymove-1.0.2.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
79c1350db2f1f92a459b87ee9072ec0790faab233bfaeb73bf78a5caadd5aaa8
|
|
BLAKE2b-256 checksum How to use checksums |
bb42064fb406ad6ac8e330f222a1d2341f3668b9b038ebbe3177cce017e1f035
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Release files / cymove-1.0.2-py3-none-any.whl
| Download URL | cymove-1.0.2-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc4bd59e0e6f99eb2fb9e6b443c84148061de4841fb6026ac724c9b9944a3056
|
|
BLAKE2b-256 checksum How to use checksums |
70f84c6d4fc2bb350e06daf99661968f8c85a9610c3d454a3dfeb2af4be5f462
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Security for cymove 1.0.2
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.