{"id":34071000,"url":"https://github.com/ombucha/python-oeis","last_synced_at":"2026-04-06T09:01:38.173Z","repository":{"id":41402637,"uuid":"494358062","full_name":"Ombucha/python-oeis","owner":"Ombucha","description":"A basic API wrapper for OEIS.","archived":false,"fork":false,"pushed_at":"2025-06-19T04:24:52.000Z","size":2069,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-14T09:11:44.369Z","etag":null,"topics":["database","math","oeis","python","sequences"],"latest_commit_sha":null,"homepage":"https://oeis.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ombucha.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2022-05-20T07:06:29.000Z","updated_at":"2025-09-20T03:01:50.000Z","dependencies_parsed_at":"2025-06-19T05:23:58.949Z","dependency_job_id":null,"html_url":"https://github.com/Ombucha/python-oeis","commit_stats":null,"previous_names":["infiniticity/python-oeis"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Ombucha/python-oeis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ombucha%2Fpython-oeis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ombucha%2Fpython-oeis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ombucha%2Fpython-oeis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ombucha%2Fpython-oeis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ombucha","download_url":"https://codeload.github.com/Ombucha/python-oeis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ombucha%2Fpython-oeis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31466228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T08:36:52.050Z","status":"ssl_error","status_checked_at":"2026-04-06T08:36:51.267Z","response_time":112,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["database","math","oeis","python","sequences"],"created_at":"2025-12-14T07:45:34.131Z","updated_at":"2026-04-06T09:01:38.166Z","avatar_url":"https://github.com/Ombucha.png","language":"Python","readme":".. image:: https://raw.githubusercontent.com/Ombucha/python-oeis/main/banner.png\r\n\r\n.. image:: https://img.shields.io/pypi/v/python-oeis\r\n    :target: https://pypi.python.org/pypi/python-oeis\r\n    :alt: PyPI version\r\n.. image:: https://static.pepy.tech/personalized-badge/python-oeis?period=total\u0026left_text=downloads\u0026left_color=grey\u0026right_color=red\r\n    :target: https://pypi.python.org/pypi/python-oeis\r\n    :alt: PyPI downloads\r\n.. image:: https://sloc.xyz/github/Ombucha/python-oeis?lower=True\r\n    :target: https://github.com/Ombucha/python-oeis/graphs/contributors\r\n    :alt: Lines of code\r\n.. image:: https://img.shields.io/github/repo-size/Ombucha/python-oeis?color=yellow\r\n    :target: https://github.com/Ombucha/python-oeis\r\n    :alt: Repository size\r\n\r\nAbout\r\n-----\r\n\r\n**python-oeis** is a Python library for exploring and retrieving integer sequences from the `Online Encyclopedia of Integer Sequences (OEIS) \u003chttps://oeis.org/\u003e`_. Use it to search for sequences by keywords, fetch classic sequences like the Fibonacci numbers (A000045), primes (A000040), or your favorite obscure sequence, and access OEIS metadata programmatically.\r\n\r\nRequirements\r\n------------\r\n\r\n- Python 3.8 or higher\r\n- `requests \u003chttps://pypi.python.org/pypi/requests\u003e`_\r\n\r\nInstallation\r\n------------\r\n\r\nInstall the latest stable release from PyPI:\r\n\r\n.. code-block:: sh\r\n\r\n    # Unix / macOS\r\n    python3 -m pip install \"python-oeis\"\r\n\r\n    # Windows\r\n    py -m pip install \"python-oeis\"\r\n\r\nTo install the development version from GitHub:\r\n\r\n.. code-block:: sh\r\n\r\n    git clone https://github.com/Ombucha/python-oeis\r\n    cd python-oeis\r\n    pip install .\r\n\r\nUsage Example\r\n-------------\r\n\r\nQuery the OEIS for sequences, just like searching for A-numbers or keywords on the OEIS website:\r\n\r\n.. code-block:: python\r\n\r\n    import oeis\r\n\r\n    # Search for sequences related to 'prime numbers'\r\n    results = oeis.search('prime numbers')\r\n    for seq in results[:3]:\r\n        print(seq.id, seq.name, seq.data[:10])\r\n\r\n    # Fetch the Fibonacci sequence (A000045)\r\n    fib = oeis.Sequence('A000045')\r\n    print(fib.name)\r\n    print(fib.data[:10])  # First 10 Fibonacci numbers\r\n\r\nLinks\r\n-----\r\n\r\n- `OEIS Main Site \u003chttps://oeis.org/\u003e`_\r\n- `Documentation \u003chttps://oeis.readthedocs.io/\u003e`_\r\n- `PyPI Project \u003chttps://pypi.org/project/python-oeis/\u003e`_\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fombucha%2Fpython-oeis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fombucha%2Fpython-oeis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fombucha%2Fpython-oeis/lists"}