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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file oeis_cli-0.2.1.tar.gz
.
File metadata
- Download URL: oeis_cli-0.2.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
ed50cc3e2badf2a0ff9564f9da31c4345b9c326aab84bb61330570303e24f20a
|
|
MD5 |
bf921c63ed88af631c527887669f81b7
|
|
BLAKE2b-256 |
fbba030b8f0d854ae0e700cf2af4429b78765b0e44bee3be40db270dbb00785e
|
File details
Details for the file oeis_cli-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: oeis_cli-0.2.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
6b866d16a8f7d115678ce082474ea3de2a3d0939339a95912d486026bbddf5d7
|
|
MD5 |
0a5aeb17c6dc910550e489b6b9398711
|
|
BLAKE2b-256 |
949b99e63692d53f98086984a5232f4b5fb098db396c687638232523c9c319f1
|