{"id":24487376,"url":"https://github.com/asem000/arraylib","last_synced_at":"2025-07-11T10:39:42.662Z","repository":{"id":271670552,"uuid":"912584353","full_name":"ASEM000/arraylib","owner":"ASEM000","description":"minimal numpy \u0026 jax in python and C","archived":false,"fork":false,"pushed_at":"2025-01-16T08:10:43.000Z","size":122,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T08:57:48.147Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ASEM000.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-01-06T01:01:29.000Z","updated_at":"2025-01-16T08:10:40.000Z","dependencies_parsed_at":"2025-01-10T08:03:32.425Z","dependency_job_id":null,"html_url":"https://github.com/ASEM000/arraylib","commit_stats":null,"previous_names":["asem000/arraylib"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASEM000%2Farraylib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASEM000%2Farraylib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASEM000%2Farraylib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASEM000%2Farraylib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ASEM000","download_url":"https://codeload.github.com/ASEM000/arraylib/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243658270,"owners_count":20326467,"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":"2025-01-21T15:37:59.515Z","updated_at":"2025-03-14T23:14:04.310Z","avatar_url":"https://github.com/ASEM000.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# `arraylib`: Multi-dimensional array library for `Python` in `C` with `numpy`-like interface\n\n## Installation\n\nuse make to build the shared library\n```bash\nmake\n```\n\n## Usage\n\n```python\nimport arraylib as al\nimport math\n\n# general example\na = (\n    al.arange(1, 1 + 3 * 4 * 5 * 6)\n    .reshape((3, 4, 5, 6))\n    .reduce_sum(dims=(1, 2))\n    .apply(lambda x: math.sqrt(x))\n    .reshape((3, 6))\n    .transpose((1, 0))\n)\n\n# broadcasting\nb = al.ones([3, 6]) + al.ones([6]) + al.ones([4, 3, 1]) + 1.0\n\n# stride tricks\nc = al.arange(1, 11).as_strided(shape=(8, 3), stride=(1, 1)).reduce_sum(dims=[0])\n```\n\nNOTE: `omp` is supported if compiled with the appropriate flags (e.g. `-fopenmp`)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasem000%2Farraylib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasem000%2Farraylib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasem000%2Farraylib/lists"}