Skip to main content

Simple Python Library for OEIS

Project description

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()

Project details


Download files

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

Source Distribution

oeispy-0.0.5.tar.gz (3.0 kB view hashes)

Uploaded Source

Supported by

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