python-oeis

Installation

Python 3.8 or higher is required.

To install the stable version, do the following:

# Unix / macOS
python3 -m pip install "python-oeis"

# Windows
py -m pip install "python-oeis"

To install the development version, do the following:

$ git clone https://github.com/Infiniticity/python-oeis

Make sure you have the latest version of Python installed, or if you prefer, a Python version of 3.8 or greater.

If you have have any other issues feel free to search for duplicates and then create a new issue on GitHub with as much detail as possible. Include the output in your terminal, your OS details and Python version.

Comic

class oeis.Sequence(a_number: str)

A class that represents a sequence.

Parameters

a_number (int) – The A-number of the sequence.

Variables
  • a_number – The A-number of the sequence.

  • url – The URL of the sequence.

  • graph – The graph of the sequence.

  • greeting – The OEIS greeting.

  • text – The textual data of the sequence.

Note

There are other custom attributes which depend on the sequence.

Other Functions

oeis.search(query: str) List[Sequence]

Searches OEIS.

Parameters

query (str) – The query to make.