# sra-pylib
`sra-pylib` is a Python wrapper for [some-random-api](https://some-random-api.com).
```python
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.
<a href="https://pypi.org/project/sra-pylib"><img src="https://img.shields.io/pypi/status/sra-pylib?label=Status&logo=pypi&logoColor=ffffff" height=22></a>
<a href="https://pypi.org/project/sra-pylib"><img src="https://img.shields.io/pypi/v/sra-pylib?label=PyPI Version&logo=pypi&logoColor=ffffff" height=22></a>
<a href="https://app.fossa.com/projects/git%2Bgithub.com%2FSayad-Uddin-Tahsin%2Fsra-pylib?ref=badge_shield" alt="FOSSA Status"><img src="https://app.fossa.com/api/projects/git%2Bgithub.com%2FSayad-Uddin-Tahsin%2Fsra-pylib.svg?type=shield" height=22></a>
<a href="https://python.org"><img src="https://img.shields.io/pypi/pyversions/sra-pylib?label=Python&logo=python&logoColor=ffdd54" height=22></a>
## Installation
You can install `sra-pylib` using `pip`:
```console
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](https://github.com/Sayad-Uddin-Tahsin/sra-pylib/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](https://github.com/Sayad-Uddin-Tahsin/sra-pylib/issues).
## Bug Report
If you encounter any bugs while using sra-pylib, please report them by opening a new issue on the [GitHub repository](https://github.com/Sayad-Uddin-Tahsin/sra-pylib/issues). 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:
```console
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](https://github.com/Sayad-Uddin-Tahsin/sra-pylib/archive/refs/heads/main.zip)
## License
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FSayad-Uddin-Tahsin%2Fsra-pylib.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FSayad-Uddin-Tahsin%2Fsra-pylib?ref=badge_large)
Raw data
{
"_id": null,
"home_page": "https://github.com/Sayad-Uddin-Tahsin/sra-pylib",
"name": "sra-pylib",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "some-random-api,sra,api-wrapper,sra-pylib,sra-wrapper,tahsin-project",
"author": "Sayad Uddin Tahsin",
"author_email": "mr.pluto012@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/9f/53/8db9f8649502a8c578a5beb03c96bd2e1c03dcef6e6025488a9267d7d940/sra-pylib-1.4.2.tar.gz",
"platform": null,
"description": "# sra-pylib\n`sra-pylib` is a Python wrapper for [some-random-api](https://some-random-api.com).\n\n```python\nimport sra\nfrom sra import animal\n\n# Create a new instance of the Panda class\npanda = animal.Panda()\n\n>>> print(panda.image_link) # Prints a Panda Image link\n\"https://i.imgur.com/YVLrUO9.jpg\"\n>>> print(panda.fact) # Prints a Panda Fact\n\"From 1974-1989, half of the panda\u2019s habitat in China\u2019s Sichuan areas was destroyed by human activity.\"\n>>> panda.save_image(\"Cool Panda.png\") # Saves the Image\n```\nWith `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.\n\n<a href=\"https://pypi.org/project/sra-pylib\"><img src=\"https://img.shields.io/pypi/status/sra-pylib?label=Status&logo=pypi&logoColor=ffffff\" height=22></a>\n<a href=\"https://pypi.org/project/sra-pylib\"><img src=\"https://img.shields.io/pypi/v/sra-pylib?label=PyPI Version&logo=pypi&logoColor=ffffff\" height=22></a>\n<a href=\"https://app.fossa.com/projects/git%2Bgithub.com%2FSayad-Uddin-Tahsin%2Fsra-pylib?ref=badge_shield\" alt=\"FOSSA Status\"><img src=\"https://app.fossa.com/api/projects/git%2Bgithub.com%2FSayad-Uddin-Tahsin%2Fsra-pylib.svg?type=shield\" height=22></a>\n<a href=\"https://python.org\"><img src=\"https://img.shields.io/pypi/pyversions/sra-pylib?label=Python&logo=python&logoColor=ffdd54\" height=22></a>\n\n## Installation\nYou can install `sra-pylib` using `pip`:\n```console\npython -m pip install sra-pylib\n```\n`sra-pylib` requires Python 3.7 or later.\n\n## Endpoints\n`sra-pylib` is synced with some-random-api. It has all the Endpoints provided by some-random-api except the Premium ones.\n\n## Documentation\nFull documentation for the sra-pylib module can be found on [Wiki](https://github.com/Sayad-Uddin-Tahsin/sra-pylib/wiki). The documentation includes detailed information on how to use the module, including examples and reference documentation for all classes and methods.\n\nIf you have any questions or issues with the module, please refer to the documentation or submit a bug report on the [GitHub issues page](https://github.com/Sayad-Uddin-Tahsin/sra-pylib/issues).\n\n\n## Bug Report\nIf you encounter any bugs while using sra-pylib, please report them by opening a new issue on the [GitHub repository](https://github.com/Sayad-Uddin-Tahsin/sra-pylib/issues). When reporting a bug, please include the following information:\n\n- A detailed description of the issue, including what you were trying to do when the bug occurred\n- The full traceback or error message, if applicable\n- Steps to reproduce the bug, if possible\n- Any additional information or context that might be relevant to the issue\n\nBy reporting bugs, you can help improve the quality and reliability of sra-pylib for all user\n\n\n## Cloning the Repository\nYou can easily clone this repository by executing the following command:\n```console\ngit clone https://github.com/Sayad-Uddin-Tahsin/sra-pylib.git\n```\nThis will clone the whole repository in your computer.\n\nYou can also download the repository as a `zip` file: [Download as zip](https://github.com/Sayad-Uddin-Tahsin/sra-pylib/archive/refs/heads/main.zip)\n\n## License\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FSayad-Uddin-Tahsin%2Fsra-pylib.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FSayad-Uddin-Tahsin%2Fsra-pylib?ref=badge_large)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Wrapper of some-random-api for Python",
"version": "1.4.2",
"project_urls": {
"Bug Tracker": "https://github.com/Sayad-Uddin-Tahsin/sra-pylib/issues",
"Documentation": "https://github.com/Sayad-Uddin-Tahsin/sra-pylib/wiki",
"Homepage": "https://github.com/Sayad-Uddin-Tahsin/sra-pylib",
"PyPI": "https://pypi.org/project/sra-pylib/"
},
"split_keywords": [
"some-random-api",
"sra",
"api-wrapper",
"sra-pylib",
"sra-wrapper",
"tahsin-project"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e8819ec5f8ecfdb069fda364bd9ba148fb4d435db9fe0db700a3dec1ba223173",
"md5": "dfa4619b86ae49bbee9bc232d9d3e7c7",
"sha256": "def975a3e64c57caffb6db456b57da44a185fdd2d123f6d394aafcb7521dd480"
},
"downloads": -1,
"filename": "sra_pylib-1.4.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "dfa4619b86ae49bbee9bc232d9d3e7c7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 19006,
"upload_time": "2023-05-04T07:28:55",
"upload_time_iso_8601": "2023-05-04T07:28:55.194623Z",
"url": "https://files.pythonhosted.org/packages/e8/81/9ec5f8ecfdb069fda364bd9ba148fb4d435db9fe0db700a3dec1ba223173/sra_pylib-1.4.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9f538db9f8649502a8c578a5beb03c96bd2e1c03dcef6e6025488a9267d7d940",
"md5": "5532a13d45eca08f3953d059e051c849",
"sha256": "2ba48f21bb1313e3f9e747505fc15604bb321e781318c3e7ddb6cc9799172f6d"
},
"downloads": -1,
"filename": "sra-pylib-1.4.2.tar.gz",
"has_sig": false,
"md5_digest": "5532a13d45eca08f3953d059e051c849",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 15813,
"upload_time": "2023-05-04T07:28:56",
"upload_time_iso_8601": "2023-05-04T07:28:56.681691Z",
"url": "https://files.pythonhosted.org/packages/9f/53/8db9f8649502a8c578a5beb03c96bd2e1c03dcef6e6025488a9267d7d940/sra-pylib-1.4.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-04 07:28:56",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Sayad-Uddin-Tahsin",
"github_project": "sra-pylib",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "sra-pylib"
}