Skip to main content

scythe-sql

PyPI wrapper for scythe, the polyglot SQL-to-code generator. Installs a pinned scythe binary without requiring a Rust toolchain.

pip install scythe-sql
scythe --version

pip install does not run any code for a wheel install, so there is no download-on-install step. Instead, the installed scythe console script downloads the matching prebuilt binary for your platform on first run (verifying its SHA-256 checksum) and caches it under ~/.cache/scythe/<version>/ (%LOCALAPPDATA%\scythe\cache on Windows). Every subsequent invocation execs the cached binary directly. The script never writes into site-packages, so it works under read-only installs, containers, and pip install --user.

Warming the cache in a Dockerfile

RUN pip install scythe-sql && scythe --version

Supported platforms

  • Linux x64 / arm64 (glibc only -- musl/Alpine is not supported; use cargo install scythe-cli)
  • macOS x64 / arm64
  • Windows x64 (Windows on ARM64 falls back to the x64 binary via emulation)

Environment variables

  • SCYTHE_BINARY -- absolute path to a scythe binary to use instead of downloading.
  • SCYTHE_SKIP_DOWNLOAD=1 -- never download; fail if no cached or PATH binary is available.
  • SCYTHE_CACHE_DIR -- override the cache root directory.
  • PIP_CERT / REQUESTS_CA_BUNDLE / SSL_CERT_FILE -- custom CA bundle.

Proxy configuration (HTTPS_PROXY, HTTP_PROXY, NO_PROXY) is honoured natively via urllib.request.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scythe_sql-0.13.0.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scythe_sql-0.13.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file scythe_sql-0.13.0.tar.gz.

File metadata

  • Download URL: scythe_sql-0.13.0.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for scythe_sql-0.13.0.tar.gz
Algorithm Hash digest
SHA256 2c63e6c89b67590d75dcd336818787b521d4d60de2798b16a04f655fd6ac4a3e
MD5 e11e8441267e03292301c965d2de0fa4
BLAKE2b-256 3988c4b19e18796c1d3e724eed2a7e71c410cf56669b893264b0526557edcbef

See more details on using hashes here.

Provenance

The following attestation bundles were made for scythe_sql-0.13.0.tar.gz:

Publisher: publish.yaml on Goldziher/scythe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scythe_sql-0.13.0-py3-none-any.whl.

File metadata

  • Download URL: scythe_sql-0.13.0-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for scythe_sql-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 460f4e39c657b012d279c66f5f76305403bc88736a3823acb8687099a3960d02
MD5 5611821ae4e0414ffc05c3729949d873
BLAKE2b-256 b6835aab0b822b2dad341d8796cedfa01cf680aeafc6e724426473f05915cb0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for scythe_sql-0.13.0-py3-none-any.whl:

Publisher: publish.yaml on Goldziher/scythe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page