Stream HTTP data to Apache Arrow format for efficient processing and analytics.
Project description
http-to-arrow
http-to-arrow provides Arrow-backed containers for streaming HTTP and ETL-style
ingestion workflows.
The package uses a standard source layout so code lives under
src/http_to_arrow/ rather than the project root.
Package-specific tests live under tests/ inside this workspace member, while
the monorepo root can still host shared integration tests when needed.
Included exports
ArrowRecordContainerUnknownFieldPolicyMissingFieldPolicyCoercionPolicy
Explicit schema
import pyarrow as pa
from http_to_arrow import ArrowRecordContainer
container = ArrowRecordContainer(
schema=pa.schema([
pa.field("id", pa.int64()),
pa.field("name", pa.string()),
])
)
container.append({"id": 1, "name": "alpha"})
Inferred schema
from http_to_arrow import ArrowRecordContainer
container = ArrowRecordContainer(schema=None)
container.append({"ID": 1})
container.append({"id": 2, "name": "beta"})
table = container.to_table()
assert table.to_pydict() == {
"ID": [1, 2],
"name": [None, "beta"],
}
Notes
schema=Noneenables inferred mode.- Inferred mode widens as new fields appear and backfills older rows with nulls.
- Conflicting inferred field types widen when possible and otherwise fall back to
string. to_table()raises when inferred mode has neither an explicit schema nor any appended records.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file http_to_arrow-0.1.2.tar.gz.
File metadata
- Download URL: http_to_arrow-0.1.2.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b9392417160fe49405b512e84fc3cb58315d1d4ba8b9d96b6d751a6edb537c5
|
|
| MD5 |
564f61c037cb86b72acabb4e9e517eeb
|
|
| BLAKE2b-256 |
0b8dcf8b1437a81a74960520ac813c51f83faab2f65ca05070afb9fa848de1d8
|
Provenance
The following attestation bundles were made for http_to_arrow-0.1.2.tar.gz:
Publisher:
publish-http-to-arrow.yml on ProxayFox/proxay-pylibs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
http_to_arrow-0.1.2.tar.gz -
Subject digest:
2b9392417160fe49405b512e84fc3cb58315d1d4ba8b9d96b6d751a6edb537c5 - Sigstore transparency entry: 1522525888
- Sigstore integration time:
-
Permalink:
ProxayFox/proxay-pylibs@aaa2e031933ac87b1c93024e03d34d5255ca6e9a -
Branch / Tag:
refs/tags/http-to-arrow-v0.1.2 - Owner: https://github.com/ProxayFox
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-http-to-arrow.yml@aaa2e031933ac87b1c93024e03d34d5255ca6e9a -
Trigger Event:
release
-
Statement type:
File details
Details for the file http_to_arrow-0.1.2-py3-none-any.whl.
File metadata
- Download URL: http_to_arrow-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98b2c198dc83db45aee9e318dafe0d734d9d858da607be607596895ad9594708
|
|
| MD5 |
787e92a3cbde094b496f55088d2dba29
|
|
| BLAKE2b-256 |
399e74e2293f5444d981f34a131e6d5dae905848d65b8332d17b7044f94136eb
|
Provenance
The following attestation bundles were made for http_to_arrow-0.1.2-py3-none-any.whl:
Publisher:
publish-http-to-arrow.yml on ProxayFox/proxay-pylibs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
http_to_arrow-0.1.2-py3-none-any.whl -
Subject digest:
98b2c198dc83db45aee9e318dafe0d734d9d858da607be607596895ad9594708 - Sigstore transparency entry: 1522525967
- Sigstore integration time:
-
Permalink:
ProxayFox/proxay-pylibs@aaa2e031933ac87b1c93024e03d34d5255ca6e9a -
Branch / Tag:
refs/tags/http-to-arrow-v0.1.2 - Owner: https://github.com/ProxayFox
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-http-to-arrow.yml@aaa2e031933ac87b1c93024e03d34d5255ca6e9a -
Trigger Event:
release
-
Statement type: