Gladius (de-gladius)
군단병 주력검. 가장 자주 쓰는 변환·쿼리 도구.
선언형 변환(map/steps)을 SQL로 컴파일해 DuckDB에서 실행하는 엔진. 필터·
리네임·캐스팅·정렬·중복 제거 같은 흔한 변환을 YAML 레시피로 표현하면, 손으로
쓴 SQL과 동일한 결과를 벡터화 엔진으로 빠르게 낸다. gladius compile로 생성된
SQL을 그대로 확인할 수 있어 마법이 없다. gladius query로 수집 결과 Parquet에
바로 SQL을 던지는 미니 DWH로도 쓴다.
설치
pip install de-gladius
배포명은 de-gladius지만 Python import와 CLI는 기존처럼 gladius다.
사용 예
# transform.yaml
name: clean-issues
input: ./data/issues
steps:
- filter: "state = 'open'"
- rename: { created_at: opened_at }
- cast: { number: bigint }
- select: [number, title, opened_at, user]
output: ./data/issues_clean
gladius compile transform.yaml # 생성될 SQL을 미리 확인
gladius run transform.yaml # Parquet in → DuckDB → Parquet out
gladius query "SELECT count(*) FROM './data/issues_clean/*.parquet'"
문서
- docs/01-scope.md — Gladius가 다루는 범위(M3)
- docs/08-limits.md — 단일 노드 처리 envelope(벤치마크 실측)
- benchmarks/RESULTS.md — 변환 벤치마크 수치
- 저장소 루트 README
Metadata
Release files for de-gladius 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| de_gladius-0.3.0.tar.gz | 19.4 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| de_gladius-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.6 kB
Release files / de_gladius-0.3.0.tar.gz
| Download URL | de_gladius-0.3.0.tar.gz |
|---|---|
| Size | 19.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
02a4409a8faaa13d1c8885a2cc227c3c06463a26adfc6e2b8edf3a5616e66b9c
|
|
BLAKE2b-256 checksum How to use checksums |
c8dff9df2d1bdb44ffe4426eb59afbb9d858983cde60c596f393c825bda04828
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 13, 2026.
Transparency logRelease files / de_gladius-0.3.0-py3-none-any.whl
| Download URL | de_gladius-0.3.0-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
580adcac715c26bd5a263e03c00bba4aa377d36fdccbb1d233b20296752cdd76
|
|
BLAKE2b-256 checksum How to use checksums |
6d8adca22bbcf47edd4efd10abc0bb5756a3decd62c93df53fbb3710d4ca4882
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 13, 2026.
Transparency logSecurity for de-gladius 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for de_gladius-0.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 13, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.