nox-feather 0.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nox_feather-0.4.0/PKG-INFO +5 -0
- nox_feather-0.4.0/README.md +11 -0
- nox_feather-0.4.0/nox.json +14 -0
- nox_feather-0.4.0/pyproject.toml +27 -0
- nox_feather-0.4.0/src/lib.nox +36 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# nox-feather
|
|
2
|
+
|
|
3
|
+
Native Python (`CPython 3.15+` `abi3t`, free-threaded `3.15t`) bindings for [feather](https://github.com/mburakmmm/feather).
|
|
4
|
+
|
|
5
|
+
```python
|
|
6
|
+
import nox_feather
|
|
7
|
+
|
|
8
|
+
jc = nox_feather.JoinClause(0, "users", "id", "user_id")
|
|
9
|
+
assert nox_feather.is_valid_uuid("550e8400-e29b-41d4-a716-446655440000") is True
|
|
10
|
+
assert nox_feather.sum_col("amount") == "SUM(amount)"
|
|
11
|
+
```
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "nox_feather_bridge",
|
|
3
|
+
"version": "0.4.0",
|
|
4
|
+
"source": "nox",
|
|
5
|
+
"entry": "src/lib.nox",
|
|
6
|
+
"requires": [
|
|
7
|
+
{
|
|
8
|
+
"alias": "feather",
|
|
9
|
+
"repo": "https://github.com/mburakmmm/feather.git",
|
|
10
|
+
"ref": "eb0df40259e8879bd55ed3f433c45154af8a394c",
|
|
11
|
+
"require_signed_commit": false
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["noxpy>=0.7.0a2"]
|
|
3
|
+
build-backend = "noxpy.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "nox-feather"
|
|
7
|
+
version = "0.4.0"
|
|
8
|
+
description = "Native Python bindings (CPython 3.15+ abi3t, free-threaded) for Feather SQL query & error utilities"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = { text = "MIT" }
|
|
11
|
+
requires-python = ">=3.15"
|
|
12
|
+
|
|
13
|
+
[tool.noxpy]
|
|
14
|
+
module-name = "nox_feather"
|
|
15
|
+
source = "src/lib.nox"
|
|
16
|
+
backend = "llvm"
|
|
17
|
+
abi = "abi3t"
|
|
18
|
+
free-threaded = true
|
|
19
|
+
generate-stubs = true
|
|
20
|
+
export = "public"
|
|
21
|
+
|
|
22
|
+
[tool.noxpy.publish]
|
|
23
|
+
enabled = true
|
|
24
|
+
repository = "pypi"
|
|
25
|
+
trigger = "release-tag"
|
|
26
|
+
include-sdist = true
|
|
27
|
+
require-attestation = true
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Auto-generated by `noxpy init --from-nox-package` targeting unmodified `feather` (eb0df40259e8879bd55ed3f433c45154af8a394c).
|
|
2
|
+
|
|
3
|
+
import feather.errors
|
|
4
|
+
import feather.query
|
|
5
|
+
import feather.types
|
|
6
|
+
|
|
7
|
+
@export("instance_locked")
|
|
8
|
+
class JoinClause:
|
|
9
|
+
_inner: feather.query.JoinClause
|
|
10
|
+
|
|
11
|
+
def __init__(self, join_type: int, target_table: str, left_col: str, right_col: str) -> None:
|
|
12
|
+
self._inner = feather.query.JoinClause(join_type, target_table, left_col, right_col)
|
|
13
|
+
|
|
14
|
+
class _Raw_JoinClause(JoinClause):
|
|
15
|
+
def __init__(self, inner: feather.query.JoinClause) -> None:
|
|
16
|
+
self._inner = inner
|
|
17
|
+
|
|
18
|
+
@export
|
|
19
|
+
def sanitize_error_message(msg: str) -> str:
|
|
20
|
+
return feather.errors.sanitize_error_message(msg)
|
|
21
|
+
|
|
22
|
+
@export
|
|
23
|
+
def is_retryable_message(msg: str) -> bool:
|
|
24
|
+
return feather.errors.is_retryable_message(msg)
|
|
25
|
+
|
|
26
|
+
@export
|
|
27
|
+
def count_all() -> str:
|
|
28
|
+
return feather.query.count_all()
|
|
29
|
+
|
|
30
|
+
@export
|
|
31
|
+
def sum_col(col: str) -> str:
|
|
32
|
+
return feather.query.sum_col(col)
|
|
33
|
+
|
|
34
|
+
@export
|
|
35
|
+
def is_valid_uuid(s: str) -> bool:
|
|
36
|
+
return feather.types.is_valid_uuid(s)
|