devel/pytype 2024.10.11_3 FreeBSD
Python type inferencer
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
212aee9f55- License
- APACHE20
- Categories
- devel, python
- Package size
- 3870.4 KiB, 23185.5 KiB installed
Description
Pytype checks and infers types for your Python code - without requiring type annotations. Pytype can:
- Lint plain Python code, flagging common mistakes such as misspelled attribute names, incorrect function calls, and much more, even across file boundaries.
- Enforce user-provided type annotations. While annotations are optional for pytype, it will check and apply them where present.
- Generate type annotations in standalone files ("pyi files"), which can be merged back into the Python source with a provided merge-pyi tool.
Pytype is a static analyzer; it does not execute the code it runs on.
Thousands of projects at Google rely on pytype to keep their Python code well-typed and error-free.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/pytype | 2024.10.11_3 |
| DragonFly | devel/pytype | 2024.4.11 |
Install
Binary package:
pkg install pytype-py312
From the ports tree:
cd /usr/ports/devel/pytype/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= pytype-py312>0:devel/pytype
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2024.10.11_3 | 2024.10.11_3 | - | 2024.10.11_1 | 2024.10.11_3 |
| FreeBSD:14:quarterly | 2024.10.11_3 | 2024.10.11_3 | n/a | 2024.10.11_1 | 2024.10.11_3 |
| FreeBSD:15:latest | 2024.10.11_3 | 2024.10.11_3 | n/a | 2024.10.11_1 | 2024.10.11_1 |
| FreeBSD:15:quarterly | 2024.10.11_3 | 2024.10.11_3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2024.10.11_3 | 2024.10.11_3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 4
ninja: devel/ninja${PYTHON_PKGNAMEPREFIX}pybind11>=2.10.1: devel/py-pybind11${PYTHON_PKGNAMEPREFIX}setuptools>=40.8.0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 13
ninja>=1.10.2: devel/ninja${PYTHON_PKGNAMEPREFIX}attrs>=21.4.0: devel/py-attrs${PYTHON_PKGNAMEPREFIX}immutabledict>=4.1.0: devel/py-immutabledict${PYTHON_PKGNAMEPREFIX}importlab>=0.8: devel/py-importlab${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.2: devel/py-Jinja2${PYTHON_PKGNAMEPREFIX}libcst>=1.0.1: devel/py-libcst${PYTHON_PKGNAMEPREFIX}msgspec>=0.18.6: devel/py-msgspec${PYTHON_PKGNAMEPREFIX}networkx>=2.8,1: math/py-networkx${PYTHON_PKGNAMEPREFIX}pycnite>=2024.7.31: devel/py-pycnite${PYTHON_PKGNAMEPREFIX}pydot>=1.4.2: graphics/py-pydot${PYTHON_PKGNAMEPREFIX}tabulate>=0.8.10: devel/py-tabulate${PYTHON_PKGNAMEPREFIX}toml>=0.10.2: textproc/py-toml${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.3.0: devel/py-typing-extensions
The full lists below include those, and their dependencies in turn.
Build dependencies 18
Run dependencies 178
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/lzo2
- archivers/minizip
- archivers/py-brotli
- archivers/py-zopfli
- archivers/zopfli
- archivers/zstd
- converters/fribidi
- converters/libiconv
- databases/postgresql18-client
- databases/py-sqlite3
- databases/sfcgal
- databases/spatialite
- databases/sqlite3
- devel/binutils
- devel/boost-libs
- devel/gettext-runtime
- devel/glib20
- devel/icu
- devel/json-c
- devel/libdatrie
- devel/libedit
- devel/libffi
- devel/libinotify
- devel/libltdl
- devel/librttopo
- devel/libthai
- devel/libunistring
- devel/ninja
- devel/npth
- devel/nspr
- devel/pcre2
- devel/pkgconf
- devel/py-Jinja2
- devel/py-attrs
- devel/py-babel
- devel/py-cycler
- devel/py-immutabledict
- devel/py-importlab
- devel/py-libcst
- devel/py-lxml
- devel/py-msgspec
- devel/py-olefile
- devel/py-packaging
- devel/py-pycnite
- devel/py-pyparsing
- devel/py-python-dateutil
- devel/py-pytz
- devel/py-pyyaml
- devel/py-six
- devel/py-tabulate
- devel/py-typing-extensions
- devel/py-tzdata
- devel/py-unicodedata2
- devel/py-wcwidth
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- graphics/cairo
- graphics/gd
- graphics/gdal
- graphics/gdk-pixbuf2
- graphics/geos
- graphics/giflib
- graphics/graphite2
- graphics/graphviz
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/libavif
- graphics/libgeotiff
- graphics/libimagequant
- graphics/libyuv
- graphics/openjpeg
- graphics/png
- graphics/poppler
- graphics/poppler-data
- graphics/proj
- graphics/py-gdal
- graphics/py-pillow
- graphics/py-pydot
- graphics/py-pygraphviz
- graphics/tiff
- graphics/webp
- lang/gcc14
- lang/python312
- lang/python315
- lang/tcl86
- math/gmp
- math/libtommath
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-bottleneck
- math/py-contourpy
The first 100 are listed.
No port depends on this one.
Configuration
No options to configure.
- USES
- compiler:c++11-lang python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pytype-2024.10.11.tar.gz | 2.789497e+06 | ae5ff82f0b07d5ad68d4ec32a3e8de44fad6ed565a821a76aca50a14df382274 |
Master sites 1
- PYPI