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

Uploaded Source

File details

Details for the file oeispy-0.0.5.tar.gz.

File metadata

  • Download URL: oeispy-0.0.5.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.2

File hashes

Hashes for oeispy-0.0.5.tar.gz
Algorithm Hash digest
SHA256 411abb79d022803a3d41c378ee97e287ecf5c4acf7c27823ad50641adb46a374
MD5 277f32a92c5beab4a10c16cffbc25d0d
BLAKE2b-256 5a5d3dcf22d938a22f88c675406cfd881a657036c584e9054134933069d375b9

See more details on using hashes here.

Supported by

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