Skip to main content

tryke — python testing tool

Project description

tryke-small

Tryke

ruff PyPI license python CI docs

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(add(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.14-py3-none-win_amd64.whl (3.9 MB view details)

Uploaded Python 3Windows x86-64

tryke-0.0.14-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

tryke-0.0.14-py3-none-macosx_11_0_arm64.whl (4.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: tryke-0.0.14-py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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.14-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 a38091b164f2be8f10b26795461733842a5ab9de4941ec51bd77b07e0bd166a3
MD5 3329d555f9ada28e89461ba61b0ccb2b
BLAKE2b-256 22448f88c7f972798e835ebd34036e45f9f6e865e2fd257eb17a744fe8f8b990

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tryke-0.0.14-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 4.6 MB
  • Tags: Python 3, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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.14-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0648915a63b9d04bfbe911f47207844e570ffad8e6aaa150b5c4d6109d2976c9
MD5 540f80a716a83d0909306d863c013710
BLAKE2b-256 c2dd8b15d2ad3953ce3cae1b31f4e1c4a140a2625c1b6a58e7751586be1a5de1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tryke-0.0.14-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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.14-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 64585ef4f4c011711ad261d53e5b0882fb3e50dcbcf846cf04b8d4af868ec177
MD5 c23f11411302174e30402cd4d677a4bf
BLAKE2b-256 d1660e9f4eeb679be221b83b1027008dddf4ede047448e48772696d4681f9aa0

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