devel/py-ttictoc 0.5.6_2 FreeBSD
Time execution of blocks of code
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel
- Package size
- 8.2 KiB, 29.8 KiB installed
Description
Time execution of blocks of code.
Tested against python 3.6+, but should work with other versions.
The easiest way to time something is with tic and toc:
import time from ttictoc import tic,toc tic() time.sleep(1) elapsed = toc() print('Elapsed time:',elapsed)
In the other systems
The newest version among them is 0.5.6, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| FreeBSD | devel/py-ttictoc | 0.5.6_2 newest | none known | - | [email protected] | - |
| DragonFly | devel/py-ttictoc | 0.5.6_2 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/py-ttictoc | 0.5.6_2 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-ttictoc | 0.5.6_2 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install py312-ttictoc
From the ports tree:
cd /usr/ports/devel/py-ttictoc/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-ttictoc>0:devel/py-ttictoc
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 | 0.5.6_2 | 0.5.6_2 | 0.5.6_1 | 0.5.6_2 | 0.5.6_2 |
| FreeBSD:14:quarterly | 0.5.6_2 | 0.5.6_2 | n/a | 0.5.6_2 | 0.5.6_2 |
| FreeBSD:15:latest | 0.5.6_2 | 0.5.6_2 | n/a | 0.5.6_2 | 0.5.6_2 |
| FreeBSD:15:quarterly | 0.5.6_2 | 0.5.6_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.5.6_2 | 0.5.6_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Runtime 3
${PYTHON_PKGNAMEPREFIX}black>0: devel/py-black${PYTHON_PKGNAMEPREFIX}pytest>0: devel/py-pytest${PYTHON_PKGNAMEPREFIX}flake8>0: devel/py-flake8
The full lists below include those, and their dependencies in turn.
Build dependencies 11
Run dependencies 27
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-black
- devel/py-click
- devel/py-colorama
- devel/py-flake8
- devel/py-iniconfig
- devel/py-mccabe
- devel/py-mypy_extensions
- devel/py-packaging
- devel/py-pathspec
- devel/py-platformdirs
- devel/py-pluggy
- devel/py-pycodestyle
- devel/py-pyflakes
- devel/py-pytest
- devel/py-pytokens
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-pygments
- textproc/py-regex
No port depends on this one.
Configuration
No options to configure.
- USES
- localbase python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| ttictoc-0.5.6.tar.gz | 4385 | 9ae0a534faf299b13f7d71693f8f97b28069932e2583effec799b7e8bf1964d9 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.