Skip to main content

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'"

문서

Metadata

Release files for de-gladius 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for de-gladius 0.2.2
File Size Uploaded Provenance
de_gladius-0.2.2.tar.gz 17.5 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for de-gladius 0.2.2
File Interpreter ABI Platform
de_gladius-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 33.0 kB

Release files / de_gladius-0.2.2.tar.gz

Download URL de_gladius-0.2.2.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
05578c8f0feb9d36dbd018b0d0e0fcd9782f470feb74fe9efc8b468268310225
BLAKE2b-256 checksum
How to use checksums
9ddb0357aecdaa2f35e1340dd9745a3cea9f3ae7a696f26918de810e5a07207f
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 log

Release files / de_gladius-0.2.2-py3-none-any.whl

Download URL de_gladius-0.2.2-py3-none-any.whl
Size 15.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51bc24eb2bbb5ff561055ac790bfd778c61ed315a629e8cf762ecd9d6b9f3271
BLAKE2b-256 checksum
How to use checksums
170be0b94cb0c0d24a8dde30cd0d614cd311a2b987f7a09ed24814d4318f0234
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 log

Security for de-gladius 0.2.2

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.

Select from 2 files

Attestation for de_gladius-0.2.2.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 log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page