Skip to main content

sra-pylib

sra-pylib is a Python wrapper for some-random-api.

import sra
from sra import animal

# Create a new instance of the Panda class
panda = animal.Panda()

>>> print(panda.image_link)  # Prints a Panda Image link
"https://i.imgur.com/YVLrUO9.jpg"
>>> print(panda.fact)  # Prints a Panda Fact
"From 1974-1989, half of the panda’s habitat in China’s Sichuan areas was destroyed by human activity."
>>> panda.save_image("Cool Panda.png")  # Saves the Image

With sra-pylib, you can easily access the various endpoints of some-random-api in your Python projects, making it a powerful tool for working with image, fact, and other types of data.

Installation

You can install sra-pylib using pip:

python -m pip install sra-pylib

sra-pylib requires Python 3.7 or later.

Endpoints

sra-pylib is synced with some-random-api. It has all the Endpoints provided by some-random-api except the Premium ones.

Documentation

Full documentation for the sra-pylib module can be found on Wiki. The documentation includes detailed information on how to use the module, including examples and reference documentation for all classes and methods.

If you have any questions or issues with the module, please refer to the documentation or submit a bug report on the GitHub issues page.

Bug Report

If you encounter any bugs while using sra-pylib, please report them by opening a new issue on the GitHub repository. When reporting a bug, please include the following information:

  • A detailed description of the issue, including what you were trying to do when the bug occurred
  • The full traceback or error message, if applicable
  • Steps to reproduce the bug, if possible
  • Any additional information or context that might be relevant to the issue

By reporting bugs, you can help improve the quality and reliability of sra-pylib for all user

Cloning the Repository

You can easily clone this repository by executing the following command:

git clone https://github.com/Sayad-Uddin-Tahsin/sra-pylib.git

This will clone the whole repository in your computer.

You can also download the repository as a zip file: Download as zip

License

FOSSA Status

Release files for sra-pylib 1.4.2

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

Source distribution (sdist)

Source distribution for sra-pylib 1.4.2
File Size Uploaded
sra-pylib-1.4.2.tar.gz 15.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sra-pylib 1.4.2
File Interpreter ABI Platform
sra_pylib-1.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 34.8 kB

Release files / sra-pylib-1.4.2.tar.gz

Download URL sra-pylib-1.4.2.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2ba48f21bb1313e3f9e747505fc15604bb321e781318c3e7ddb6cc9799172f6d
BLAKE2b-256 checksum
How to use checksums
9f538db9f8649502a8c578a5beb03c96bd2e1c03dcef6e6025488a9267d7d940
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / sra_pylib-1.4.2-py3-none-any.whl

Download URL sra_pylib-1.4.2-py3-none-any.whl
Size 19.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
def975a3e64c57caffb6db456b57da44a185fdd2d123f6d394aafcb7521dd480
BLAKE2b-256 checksum
How to use checksums
e8819ec5f8ecfdb069fda364bd9ba148fb4d435db9fe0db700a3dec1ba223173
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

1.4.2 This release

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

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