-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(clients): add exponential backoff
- Loading branch information
Showing
14 changed files
with
375 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "spider-cloud-cli" | ||
version = "0.1.23" | ||
version = "0.1.24" | ||
edition = "2021" | ||
authors = [ "j-mendez <[email protected]>"] | ||
description = "The Spider Cloud CLI for web crawling and scraping" | ||
|
@@ -11,10 +11,10 @@ categories = ["web-programming"] | |
include = ["src/*", "../../LICENSE", "README.md"] | ||
|
||
[dependencies] | ||
clap = { version = "4.5.13", features = ["derive"]} | ||
clap = { version = "4", features = ["derive"]} | ||
reqwest = { version = "0.12", features = ["json", "stream"] } | ||
tokio = { version = "1", features = ["rt-multi-thread", "macros"] } | ||
spider-client = { path = "../rust", version = "0.1" } | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde_json = "1.0" | ||
serde = { version = "1", features = ["derive"] } | ||
serde_json = "1" | ||
keyring = { version = "3", features = ["apple-native", "windows-native", "sync-secret-service"] } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@spider-cloud/spider-client", | ||
"version": "0.1.23", | ||
"version": "0.1.24", | ||
"description": "Isomorphic Javascript SDK for Spider Cloud services", | ||
"scripts": { | ||
"test": "node --import tsx --test __tests__/*test.ts", | ||
|
@@ -23,9 +23,12 @@ | |
"author": "Jeff Mendez<[email protected]>", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@types/node": "22.7.5", | ||
"dotenv": "^16.4.5", | ||
"tsx": "^4.19.1", | ||
"typescript": "5.6.3" | ||
"@types/node": "22.10.1", | ||
"dotenv": "^16.4.7", | ||
"tsx": "^4.19.2", | ||
"typescript": "5.7.2" | ||
}, | ||
"dependencies": { | ||
"exponential-backoff": "^3.1.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ pytest-asyncio | |
python-dotenv | ||
aiohttp | ||
python-dotenv | ||
ijson | ||
ijson | ||
tenacity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ def read_file(fname): | |
author_email="[email protected]", | ||
description="Python SDK for Spider Cloud API", | ||
packages=find_packages(), | ||
install_requires=["requests", "ijson"], | ||
install_requires=["requests", "ijson", "tenacity", "aiohttp"], | ||
long_description=read_file("README.md"), | ||
long_description_content_type="text/markdown", | ||
classifiers=[ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.