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

Uploaded Python 3Windows x86-64

tryke-0.0.18-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.18-py3-none-macosx_11_0_arm64.whl (4.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: tryke-0.0.18-py3-none-win_amd64.whl
  • Upload date:
  • Size: 4.0 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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.18-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d951b8ca61a31f92340ca2fbe5460f5cc077b5bf05521128cf8c35d3dac32b4c
MD5 5a4b13a928d44aa002a0b9e4a84c6ec1
BLAKE2b-256 3bb5dc1cb032ba9e04e8edf8df1223510a1435508fb7090bc34dc61f6a6c88e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tryke-0.0.18-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.7 {"installer":{"name":"uv","version":"0.11.7","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.18-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f6a62b7c116152c01ad73352363b7b7546e905f885d338c1b2bd960161db59cd
MD5 7815ea6bee9b9999a165df249122071a
BLAKE2b-256 0eec51c9e5e62c5edf0d4c018622a924cab7fd3fec6b0a8066e9dd831c1dc25a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tryke-0.0.18-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 4.3 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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.18-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6678b8b2c70f32d79342507e04c4a4e8a389159246a52cc6d6a8faa5cfa40925
MD5 68e13f53be6714652ce302250e2260a6
BLAKE2b-256 5d396a926a295e4078074f769087d8ea09562b0959490985ac54fc6a0dc8cba7

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