Skip to main content

#Inspirobot API

A Python3 api wrapper for InspiroBot

Requirements

  • Python3.5 +
  • Requests

Install

Using PyPi (Pip)

python3 -m pip install inspiro

Using Git

python3 -m pip install git+<GIT_URL>

Manual

git clone <GIT_URL> inspiro_python
cd inspiro_python
python3 -m pip -r requirements.txt
python3 -m pip install .

Usage

Generating a classic Quote Image

import inspirobot  # Import the libary
quote = inspirobot.generate()  # Generate Image
print(quote.url)  # Print the url

Using the mindfullness (flow) API

import inspirobot  # Import the libary
flow = inspirobot.flow()  # Generate a flow object
for quote in flow:
    print(quote.text)

Spamming the mindfullness (flow) API

import inspirobot  # Import the libary
flow = inspirobot.flow()  # Generate a flow object
for i in range(0, 100):
    for quote in flow:
        print(quote.text, quote.image.url)
    flow.new()
    print("-"*50)
HTTP Mode

Does your work/school network use https interception? Mine sure does!

import inspirobot
inspirobot.HTTPS = False

That should fix it

Metadata

Release files for insprio 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for insprio 0.0.1
File Size Uploaded Provenance Actions
insprio-0.0.1.tar.gz 3.2 kB Without provenance Details for insprio-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for insprio 0.0.1
File Interpreter ABI Platform Actions
insprio-0.0.1-py3-none-any.whl Python 3 none any Details for insprio-0.0.1-py3-none-any.whl

Total release size: 8.3 kB

Release files / insprio-0.0.1.tar.gz

Download URL insprio-0.0.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
dc62aafbad7ef54ba43be48315518654ee888dd2e86bc9b8d97918b29cb282ae
BLAKE2b-256 checksum
How to use checksums
cd1f552701034816107cd7d6f138fe03ddbfd71640be09c2d40d75c482919096
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

Release files / insprio-0.0.1-py3-none-any.whl

Download URL insprio-0.0.1-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e7a097ceb182eacf097ce8c1d9eab410a740b5fe9374039151d1be3ae93b7157
BLAKE2b-256 checksum
How to use checksums
b1de8e1ad7d026e9a5a8699d7f447291bab10ab5898a2ea541fa4321ddc885ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

Security for insprio 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page