Skip to main content

Command-line interface for OEIS.

Project description

# oeis-cli A command line interface for The On-Line Encyclopedia of Integer Sequences.

## Installation

` $ pip install oeis_cli `

or, if you’re feeling adventurous:

` $ git clone https://github.com/dfbenjamin/oeis_cli/ $ cd oeis_cli $ python3 setup.py install `

## Usage

Use the command oeis. For example:

` $ oeis 2 3 5 7 A000040: The prime numbers. 2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89 `

Can also add the –unordered tag, which does the equivalent of searching with spaces instead of commas on OEIS:

` $ oeis --unordered 256 128 4 2048 A000079: Powers of 2: a(n) = 2^n. 1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536 `

Use –name or -n to search by name:

` $ oeis --name fibonacci A000045: Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1. 0,1,1,2,3,5,8,13,21,34,55,89,144,233,377,610,987,1597,2584,4181,6765 `

## About OEIS

The author is not affiliated with OEIS in any way. For more information on the website, visit https://oeis.org/

The OEIS is made available under the [Creative Commons Attribution Non-Commercial 3.0 license](https://creativecommons.org/licenses/by-nc/3.0/).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

oeis_cli-0.2-py3.6.egg (6.5 kB view details)

Uploaded Egg

oeis_cli-0.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file oeis_cli-0.2-py3.6.egg.

File metadata

  • Download URL: oeis_cli-0.2-py3.6.egg
  • Upload date:
  • Size: 6.5 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for oeis_cli-0.2-py3.6.egg
Algorithm Hash digest
SHA256 6cca006610e1f465998a31902e0074eb96c95e5eb7d0d9d7bee3ffe215f9a102
MD5 83bf1b3158e3ba5617ee5b139883ac98
BLAKE2b-256 6d7d162219ca558b93f09f81c932fa75a023a95cb9610f043e30cf1d60bd2a45

See more details on using hashes here.

File details

Details for the file oeis_cli-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for oeis_cli-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b5d6a58b2fb93fab06c751fae3b790b0c0080f0667c6744c3b259c0559376064
MD5 083a45caa3561dfbd44d7072d923fece
BLAKE2b-256 4a687b5783c3e61690cda62ff191e17171dc974d4275443537528a1566c3aba6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page