oeispy

Simple Python Library for OEIS


Keywords
oeis
License
MIT
Install
pip install oeispy==0.0.5

Documentation

oeispy

Simple Python library for OEIS ( Online Encyclopedia of Integer Sequences )

List of methods with examples :

Query OEIS

import oeispy as op
res=op.resultEois('1,9,15,19')

Best Result

op.topResult(res)

Count Results

op.countResult(res)

Get Number

op.getNumber(res[0])

Get Id

op.getId(res[0])

Get Data

op.getData(res[0])

Get Name

op.getName(res[0])

Get Comment

op.getComment(res[0])

Get Link

op.getLink(res[0])

Get Example

op.getExample(res[0])

Similarly , getAuthor(..), getTime(..), getCreated(..), getFormula(..), getProgram(..)

Get Graph and Save Image

op.getGraph('A000001')

Get Random

res=op.getRandom()