Registry / http-networking / parallel-web

parallel-web

JSON →
library1.3.2pypypi✓ verified 23d ago

The official Python library for interacting with the Parallel API. It provides programmatic access to Parallel's web data extraction and search capabilities. The library maintains an active development pace with frequent updates, typically on a monthly or bi-monthly schedule, reflecting continuous API enhancements.

pip install parallel-web
INSTALL
IMPORT
SIG · PARALLEL-WEB
P
parallel-web
http-networkingpythonv1.3.2
Install
4.1s avg
Import
977ms
Disk
32MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.3.2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 1.006s · 33.8MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 4.1s · import 0.948s · 33MB
32MB installed
● package 32MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Parallel
from parallel import Parallel

Initializes the Parallel client and performs a simple search query, printing the JSON response. Your `PARALLEL_API_KEY` must be set as an environment variable.

import os from parallel import Parallel # Ensure PARALLEL_API_KEY is set in your environment variables api_key = os.environ.get('PARALLEL_API_KEY', '') if not api_key: print("Error: PARALLEL_API_KEY environment variable not set.") else: try: client = Parallel(api_key=api_key) response = client.search.run(query="latest news in AI") print(response.json()) except Exception as e: print(f"An error occurred: {e}")
Debug
Known issues
breakingVersion `0.3.0` contains a critical bug in parameter handling and should not be used. It can lead to incorrect API requests or unexpected errors.
fix
Upgrade to `v0.3.1` or a newer version (e.g., `pip install --upgrade parallel-web`) or downgrade to `v0.2.2` if necessary.
affects: 0.3.0
gotchaThe library frequently updates to support beta API endpoints (e.g., `/v1beta/search`, `/v1beta/extract`). While default beta headers are often handled, the behavior and stability of these endpoints may change rapidly. Features like `search` and `extract` have seen multiple beta iterations.
fix
Always consult the official Parallel API documentation (outside the SDK) when relying on beta features for production use to understand their stability guarantees and potential breaking changes.
affects: 0.3.2 onwards
gotchaThe nomenclature for `findAll` methods was updated in `v0.4.0`. If your application uses `findAll` pattern methods, they may need to be adjusted or renamed to align with the new API structure.
fix
Review the changelog or official documentation for `v0.4.0` for specific details on how `findAll` related methods have changed and update your code accordingly.
affects: 0.4.0 onwards
gotchaEarly versions of the library (prior to `v0.3.4`) may experience compatibility issues with Python 3.14.
fix
Ensure you are using `parallel-web` version `0.3.4` or newer if developing with Python 3.14 or later. For older Python versions, this is not an issue.
affects: <0.3.4
Errors
Common errors & fixes
PARALLEL_API_KEY not set
The `PARALLEL_API_KEY` environment variable has not been configured, or the API key was not explicitly passed when initializing the Parallel client.
fix
Set the `PARALLEL_API_KEY` environment variable with your valid Parallel API key, or pass it directly to the `Parallel` client constructor: `client = Parallel(api_key='your_api_key')`.
ModuleNotFoundError: No module named 'parallel'
The `parallel-web` Python library, which exposes the `parallel` module, has not been installed in your Python environment.
fix
Install the library using pip: `pip install parallel-web`.
parallel.AuthenticationError
The Parallel API returned an authentication error (HTTP 401 status code), indicating that the provided API key is invalid or missing for the API call.
fix
Ensure that your `PARALLEL_API_KEY` is correct and properly configured in your environment or passed to the `Parallel` client initialization.
AttributeError: 'Parallel' object has no attribute 'findAll'
The nomenclature for `findAll` methods was updated in `parallel-web` version `0.4.0`, and your code is attempting to use an outdated method name.
fix
Review the `v0.4.0` changelog or official documentation to identify the correct method name and update your code accordingly.
Upgrade
Version history
1.3.2latest on PyPI · released Aug 27, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
6
Resources
parallel-web — pip install parallel-web · libregistry