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.14.0.tar.gz (10.7 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.14.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scythe_sql-0.14.0.tar.gz
  • Upload date:
  • Size: 10.7 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.14.0.tar.gz
Algorithm Hash digest
SHA256 4c9f31babdc65f524467bd911c4e248468636b2857b51c67c23f199a8939d6d0
MD5 65c7b8572c1c5fea9b75c2624494af8b
BLAKE2b-256 c0a3ba6d3862a14576528531c0df57d1c284c9f56715ba6a768aa285a19527da

See more details on using hashes here.

Provenance

The following attestation bundles were made for scythe_sql-0.14.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.14.0-py3-none-any.whl.

File metadata

  • Download URL: scythe_sql-0.14.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.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2268d3045ef928df20270909c5c3387ad9e7cb566c059a15339e16adb46b259e
MD5 dafbc7cd8aa45bac93b0342b4fc476a6
BLAKE2b-256 568763eedd3344122cf8e061b24cf17d626e04812afddd073e6f9c165f67f943

See more details on using hashes here.

Provenance

The following attestation bundles were made for scythe_sql-0.14.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