BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDdevel/py-ttictoc0.5.6_2 newestnone known-[email protected]-
DragonFlydevel/py-ttictoc0.5.6_2 newestnone known-[email protected]-
HardenedBSDdevel/py-ttictoc0.5.6_2 newestno data-[email protected]-
GhostBSDdevel/py-ttictoc0.5.6_2 newestno 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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.5.6_20.5.6_20.5.6_10.5.6_20.5.6_2
FreeBSD:14:quarterly0.5.6_20.5.6_2n/a0.5.6_20.5.6_2
FreeBSD:15:latest0.5.6_20.5.6_2n/a0.5.6_20.5.6_2
FreeBSD:15:quarterly0.5.6_20.5.6_2n/an/an/a
FreeBSD:16:latest0.5.6_20.5.6_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 27

No port depends on this one.

Configuration

No options to configure.

USES
localbase python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
ttictoc-0.5.6.tar.gz43859ae0a534faf299b13f7d71693f8f97b28069932e2583effec799b7e8bf1964d9
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.