hypothesis strategies for generating Python programs
Project homepage: https://github.com/Zac-HD/hypothesmith
Description
This package provides two strategies for "Hypothesis" for generating
Python source code.
The generated code will always be syntactically valid, and is useful for
testing parsers, linters, auto-formatters, and other tools that operate
on source code.
DO NOT EXECUTE CODE GENERATED BY THESE STRATEGIES.
It could do literally anything that running Python code is able to do,
including changing, deleting, or uploading important data. Arbitrary
code can be useful, but "arbitrary code execution" can be very, very
bad.
Package information
- Ports path
- devel/py-hypothesmith
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- devel, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Runtime
Build
- lang/python/3
- devel/py-build
- devel/py-installer
- devel/py-setuptools py3-setuptools->=79v0
- devel/py-wheel
Test
- textproc/py-black
- devel/py-parso
- devel/py-test-cov
- devel/py-test-xdist
- devel/py-hypothesis
- devel/py-libcst
- textproc/py-lark
- lang/python/3
- devel/py-test
Used by (2 dependency relationships)
Includes library, runtime, build and test dependencies.