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

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.0
File Size Uploaded Provenance
de_gladius-0.2.0.tar.gz 17.5 kB With provenance Details

Release files / de_gladius-0.2.0.tar.gz

Download URL de_gladius-0.2.0.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4311e24763183e9c11cc8e023a87b84480aabd38795f94a99d328f7275cf8796
BLAKE2b-256 checksum
How to use checksums
4c6af068e459260024e47471306d2f3603ba92e3d72a4fcd3bb9b89c435ac612
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.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 1 file in this release has been uploaded with provenance metadata.

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