Skip to main content

##Sepidar Class Documentation## Overview The Sepidar class is designed for interacting with the Sepidar search API. It allows users to perform searches and manage search history efficiently.

Example Usage python Run

sepidar = Sepidar("Tatlo", page=1)
results = sepidar.search()
print(results)

Class Definition

Features Search Functionality: Perform searches using a specified query and page number. Dynamic User-Agent: Automatically generates a random User-Agent string for each request. Search History Management: Retrieve previous search queries. Clear search history. Save search queries to history during searches. Error Handling The class handles HTTP errors by checking the response status code and printing an error message if the request fails. It also catches exceptions related to request failures and prints an appropriate message. Conclusion The Sepidar class provides a simple and effective way to interact with the Sepidar search API, making it easy to perform searches and manage search history.

Metadata

Release files for Sepidar 1.1.0

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

Source distribution (sdist)

Source distribution for Sepidar 1.1.0
File Size Uploaded
Sepidar-1.1.0.tar.gz 3.3 kB Details

Built distribution (wheel)

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

Total release size: 6.7 kB

Release files / Sepidar-1.1.0.tar.gz

Download URL Sepidar-1.1.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0fc37f490b0f132861614aa17493f7bd9087ea177c255ea940ac0b91d23b704a
BLAKE2b-256 checksum
How to use checksums
8a9eb7dea1e3bf0fc916197df0027f12eb99d54e79b047285d3e34ed8b463be8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.4

Release files / Sepidar-1.1.0-py3-none-any.whl

Download URL Sepidar-1.1.0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df08a546ba42bb58c0ea894d049d201903201582f0dac90d6e722a27f2131700
BLAKE2b-256 checksum
How to use checksums
6d430955326dc46abed1f471aab67b4900a348161ca95653a4d114d9b083269d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.4

Release history Release notifications | RSS feed

This release

1.1.0 This release

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