{ "info": { "author": "Cyarray Developers", "author_email": "pysph-dev@googlegroups.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Physics", "Topic :: Software Development :: Libraries" ], "description": "cyarray: a typed, re-sizable Cython array\n------------------------------------------\n\n|Travis Status| |Appveyor Status| |Documentation Status|\n\n\n.. |Travis Status| image:: https://travis-ci.org/pypr/cyarray.svg?branch=master\n :target: https://travis-ci.org/pypr/cyarray\n.. |Appveyor Status| image:: https://ci.appveyor.com/api/projects/status/rbl358nj2876dap1?svg=true\n :target: https://ci.appveyor.com/project/prabhuramachandran/cyarray\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.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/pypr/cyarray", "keywords": "Cython array resizable", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "cyarray", "package_url": "https://pypi.org/project/cyarray/", "platform": "Linux", "project_url": "https://pypi.org/project/cyarray/", "project_urls": { "Homepage": "http://github.com/pypr/cyarray" }, "release_url": "https://pypi.org/project/cyarray/1.1/", "requires_dist": null, "requires_python": "", "summary": "A fast, typed, resizable, Cython array.", "version": "1.1" }, "last_serial": 5066497, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "e265c3fdb546ab46511ba9fa10fc9c3c", "sha256": "3420889b27e292651ec4fe546f40d04901edcca34693284f28aeebf625a2f213" }, "downloads": -1, "filename": "cyarray-1.0.tar.gz", "has_sig": false, "md5_digest": "e265c3fdb546ab46511ba9fa10fc9c3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24691, "upload_time": "2018-11-30T02:12:57", "url": "https://files.pythonhosted.org/packages/78/80/97d992a73c545c0692c941dae489b4eaeb00d654132b9659ca28f2792d45/cyarray-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "b1e0f0d7bb6763345c2b506921f21587", "sha256": "00e1271e66e5f82ff846e054a61f78e22e04589253b7705813ea8a624642a402" }, "downloads": -1, "filename": "cyarray-1.1.tar.gz", "has_sig": false, "md5_digest": "b1e0f0d7bb6763345c2b506921f21587", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27539, "upload_time": "2019-04-02T17:08:27", "url": "https://files.pythonhosted.org/packages/3a/a7/f6e320afb1136d5173c7eddbe2c8ad47b5118286a6262a3cae51bb1c80c7/cyarray-1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b1e0f0d7bb6763345c2b506921f21587", "sha256": "00e1271e66e5f82ff846e054a61f78e22e04589253b7705813ea8a624642a402" }, "downloads": -1, "filename": "cyarray-1.1.tar.gz", "has_sig": false, "md5_digest": "b1e0f0d7bb6763345c2b506921f21587", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27539, "upload_time": "2019-04-02T17:08:27", "url": "https://files.pythonhosted.org/packages/3a/a7/f6e320afb1136d5173c7eddbe2c8ad47b5118286a6262a3cae51bb1c80c7/cyarray-1.1.tar.gz" } ] }