{"id":21252245,"url":"https://github.com/pypr/cyarray","last_synced_at":"2026-01-02T22:13:04.622Z","repository":{"id":48700565,"uuid":"159748588","full_name":"pypr/cyarray","owner":"pypr","description":"A fast, typed, resizable, Cython array.","archived":false,"fork":false,"pushed_at":"2024-12-13T17:57:06.000Z","size":143,"stargazers_count":9,"open_issues_count":2,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T03:04:19.543Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Cython","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pypr.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-30T01:04:58.000Z","updated_at":"2024-12-13T17:57:12.000Z","dependencies_parsed_at":"2024-08-18T17:58:34.909Z","dependency_job_id":"4e6c6e25-0fb2-44d3-8c50-77317ef8ad01","html_url":"https://github.com/pypr/cyarray","commit_stats":{"total_commits":62,"total_committers":6,"mean_commits":"10.333333333333334","dds":0.4193548387096774,"last_synced_commit":"a1a7e2111290e3287f15d76f299b7cf59660fe0e"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pypr%2Fcyarray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pypr%2Fcyarray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pypr%2Fcyarray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pypr%2Fcyarray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pypr","download_url":"https://codeload.github.com/pypr/cyarray/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243690115,"owners_count":20331725,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T03:46:42.630Z","updated_at":"2026-01-02T22:13:04.596Z","avatar_url":"https://github.com/pypr.png","language":"Cython","funding_links":[],"categories":[],"sub_categories":[],"readme":"cyarray: a typed, re-sizable Cython array\n------------------------------------------\n\n|CI Status|  |Documentation Status|\n\n\n.. |CI Status| image:: https://github.com/pypr/cyarray/actions/workflows/tests.yml/badge.svg\n    :target: https://github.com/pypr/cyarray/actions/workflows/tests.yml\n\n.. |Documentation Status| image:: https://readthedocs.org/projects/cyarray/badge/?version=latest\n    :target: https://cyarray.readthedocs.io/en/latest/?badge=latest\n    :alt: Documentation Status\n\n\nThe cyarray package provides a fast, typed, re-sizable, Cython array.\n\nIt currently provides the following arrays: ``IntArray, UIntArray, LongArray,\nFloatArray, DoubleArray``.\n\nAll arrays provide for the following operations:\n\n- access by indexing.\n- access through get/set function.\n- resizing the array.\n- appending values at the end of the array.\n- reserving space for future appends.\n- access to internal data through a numpy array.\n\nIf you are writing Cython code this is a convenient array to use as it exposes\nthe raw underlying pointer to the data. For example if you use a ``FloatArray``\nand access its ``data`` attribute it will be a ``float*``.\n\nEach array also provides an interface to its data through a numpy array.\nThis is done through the ``get_npy_array`` function. The returned numpy\narray can be used just like any other numpy array but for the following\nrestrictions:\n\n- the array may not be resized.\n- references of this array should not be kept.\n- slices of this array may not be made.\n\nThe numpy array may however be copied and used in any manner.\n\nInstallation\n------------\n\ncyarray can be installed using pip_::\n\n  $ pip install cyarray\n\nThe package requires ``Cython``, ``numpy``, and ``mako`` to be installed and\nalso requires a suitably configured C/C++ compiler.\n\n.. _pip: http://www.pip-installer.org\n\nUsage\n-----\n\nIn Python one may import and use the package as::\n\n  from cyarray.api import IntArray\n  a = IntArray(10)\n\nHere ``a`` is an array of 10 integers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpypr%2Fcyarray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpypr%2Fcyarray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpypr%2Fcyarray/lists"}