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.

Files for oeispy, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size oeispy-0.0.5.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page