{"id":19093681,"url":"https://github.com/juliaarrays/endpointranges.jl","last_synced_at":"2025-11-12T02:34:56.667Z","repository":{"id":44990611,"uuid":"64222785","full_name":"JuliaArrays/EndpointRanges.jl","owner":"JuliaArrays","description":"Julia package for doing arithmetic on endpoints in array indexing","archived":false,"fork":false,"pushed_at":"2023-09-04T22:53:04.000Z","size":26,"stargazers_count":23,"open_issues_count":9,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-13T20:17:25.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Julia","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/JuliaArrays.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2016-07-26T13:19:14.000Z","updated_at":"2023-05-18T18:18:54.000Z","dependencies_parsed_at":"2024-11-09T03:27:25.434Z","dependency_job_id":"09734b37-48a6-4009-9b3e-81f578b66dd9","html_url":"https://github.com/JuliaArrays/EndpointRanges.jl","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaArrays%2FEndpointRanges.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaArrays%2FEndpointRanges.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaArrays%2FEndpointRanges.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaArrays%2FEndpointRanges.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuliaArrays","download_url":"https://codeload.github.com/JuliaArrays/EndpointRanges.jl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240142863,"owners_count":19754640,"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-09T03:25:41.452Z","updated_at":"2025-11-12T02:34:56.611Z","avatar_url":"https://github.com/JuliaArrays.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EndpointRanges\n\n[![Build Status](https://travis-ci.org/JuliaArrays/EndpointRanges.jl.svg?branch=master)](https://travis-ci.org/JuliaArrays/EndpointRanges.jl)\n\n[![codecov.io](http://codecov.io/github/JuliaArrays/EndpointRanges.jl/coverage.svg?branch=master)](http://codecov.io/github/JuliaArrays/EndpointRanges.jl?branch=master)\n\nThis Julia package makes it easier to index \"unconventional\" arrays\n(ones for which indexing does not necessarily start at 1), by defining\nconstants `ibegin` and `iend` that stand for the beginning and end,\nrespectively, of the indices range along any given dimension.\n\n# Usage\n\n```jl\nusing EndpointRanges\n\na = 1:20\na[ibegin:iend] == a\na[ibegin+3:iend-2] == a[4:18]\na[1:(ibegin+iend)÷2] == a[1:10]\n```\n\nNote that, unlike `3:end` you can also pass such indices as arguments to a function:\n```\nview(a, ibegin+2:iend-3) == view(a, 3:17)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliaarrays%2Fendpointranges.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuliaarrays%2Fendpointranges.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliaarrays%2Fendpointranges.jl/lists"}