Skip to main content

tryke — python testing tool

Project description

tryke

tryke is a fast, modern test framework for Python.

Ruff PyPI license python CI docs 300shots_so

Getting started

For more information, see the documentation.

Write a test.

from tryke import expect, test, describe

def add(a: int, b: int) -> int:
    return a + b

with describe("add"):
    @test("1 + 1")
    def test_basic():
        expect(1 + 1).to_equal(2)

Run your tests.

uvx tryke test

License

This repository is licensed under the MIT License.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

tryke-0.0.9-py3-none-win_amd64.whl (5.0 MB view details)

Uploaded Python 3Windows x86-64

tryke-0.0.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

tryke-0.0.9-py3-none-macosx_11_0_arm64.whl (5.4 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file tryke-0.0.9-py3-none-win_amd64.whl.

File metadata

  • Download URL: tryke-0.0.9-py3-none-win_amd64.whl
  • Upload date:
  • Size: 5.0 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for tryke-0.0.9-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 a7468ef1f31a1f8720ef297463ca460170bc99783449af0fe4e996cbf972eb7e
MD5 0aa53aa8ce280b69e05dc038fb23ecae
BLAKE2b-256 8a3cca8d14c759d8fcf5c06b927b70ef40020061a98c28e39fe77ea74c54626e

See more details on using hashes here.

File details

Details for the file tryke-0.0.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: tryke-0.0.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 5.9 MB
  • Tags: Python 3, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for tryke-0.0.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e46cb59c5484c32f21793df263c30525a234456e2344ad9906633b322144132d
MD5 6057b14a6a76169034fac116be3fe32f
BLAKE2b-256 4ef5f251007a77b235de274ea11a3b5f7995409f5992ef20e3f30cb4b78be3ad

See more details on using hashes here.

File details

Details for the file tryke-0.0.9-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: tryke-0.0.9-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 5.4 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for tryke-0.0.9-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e52a2348482ef1503a17e872f45955925d027eefa8d57946b57b2d40a96b46b5
MD5 10a655d3ad03456426cbedb89b5c6bcb
BLAKE2b-256 a78717a4bad0715b4cfcb3838af180866a6b9faa94a037e1c32853b0be6ab514

See more details on using hashes here.

Supported by

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