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.8-py3-none-win_amd64.whl (4.9 MB view details)

Uploaded Python 3Windows x86-64

tryke-0.0.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

tryke-0.0.8-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.8-py3-none-win_amd64.whl.

File metadata

  • Download URL: tryke-0.0.8-py3-none-win_amd64.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","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.8-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 1ec6fdd131ab34947aba51c013cf7eaad7ec6954c67c4df4a1cbb2e2334391b9
MD5 016072ad3467fff979befa780dee3ee1
BLAKE2b-256 0ed6075bd9e6d35dcab577ae496b84b5eff5881f39f5a6a6860d2fc57f1323fe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tryke-0.0.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 5.8 MB
  • Tags: Python 3, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","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.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6d56246f649c13c02172d43ac509c2b55827c7e05352734ebe1101c88afde48c
MD5 2f514ef97d61e815879978419f051c42
BLAKE2b-256 a1f56ad02dc00963049f20e3d217d23ef6fe76b6af2e29feacbc6fc0c66cf096

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tryke-0.0.8-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.10 {"installer":{"name":"uv","version":"0.10.10","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.8-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 953ea12cc2667639872c56365b15b0c10abd4ddd3ee5bf547a1f0edb2a4e00e5
MD5 8a68e65a2b1e56c36cac9aead750e268
BLAKE2b-256 f420d3a599b48cbd260bb97bb05711a57ab0e51a22e19df6c5ed265e2d99fd27

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