Skip to main content

No project description provided

Project description

cyarray

An exercise in templating fast, resizable arrays for Cython that incur less Python overhead than the array module and expose a pure C representation which does not require any Python interaction.

Why not just use C++'s std::vector?

The templated std::vector type in C++ is superior to these types in all ways but one, these typed arrays support Python's buffer protocol. This means that you can accumulate values in a nogil C context and then immediately pass them along to NumPy without copying.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkcyarray-1.0.1.tar.gz (167.8 kB view hashes)

Uploaded Source

Built Distributions

mkcyarray-1.0.1-cp311-cp311-win_amd64.whl (247.3 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

mkcyarray-1.0.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (662.8 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

mkcyarray-1.0.1-cp311-cp311-macosx_11_0_arm64.whl (255.1 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

mkcyarray-1.0.1-cp310-cp310-win_amd64.whl (247.1 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

mkcyarray-1.0.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (631.2 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

mkcyarray-1.0.1-cp310-cp310-macosx_11_0_arm64.whl (254.3 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

mkcyarray-1.0.1-cp39-cp39-win_amd64.whl (247.2 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

mkcyarray-1.0.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (634.9 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

mkcyarray-1.0.1-cp39-cp39-macosx_11_0_arm64.whl (254.7 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

mkcyarray-1.0.1-cp38-cp38-win_amd64.whl (247.4 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

mkcyarray-1.0.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (634.2 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

mkcyarray-1.0.1-cp38-cp38-macosx_11_0_arm64.whl (254.6 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page