notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details
py-klein Micro-framework for developing production-ready web services
24.8.0 wwwnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: dtxdf@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-06-03 20:36:09
Last Update: 2025-06-03 20:32:47
Commit Hash: 2dd0ac5
Also Listed In: python
License: MIT
WWW:
https://pypi.org/project/klein
https://github.com/twisted/klein
Description:
Klein is a micro-framework for developing production-ready web services with Python. It is 'micro' in that it has an incredibly small API similar to Bottle and Flask. It is not 'micro' in that it depends on things outside the standard library. This is primarily because it is built on widely used and well tested components like Werkzeug and Twisted.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}klein>0:www/py-klein@${PY_FLAVOR}
To install the port:
cd /usr/ports/www/py-klein/ && make install clean
To add the package, run one of these commands:
  • pkg install www/py-klein
  • pkg install py311-klein
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-klein listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-klein
Package flavors (<flavor>: <package>)
  • py311: py311-klein
distinfo:
TIMESTAMP = 1748373054 SHA256 (klein-24.8.0.tar.gz) = 1eef4f583c4f8ef4fc57d8b57753fe6e8935501eb36497bb574064e80e3d0b15 SIZE (klein-24.8.0.tar.gz) = 104368

No package information for this port in our database
Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-incremental>=0 : devel/py-incremental@py311
  2. py311-wheel>=0 : devel/py-wheel@py311
  3. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  4. python3.11 : lang/python311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-attrs>=0 : devel/py-attrs@py311
  2. py311-hyperlink>=0 : www/py-hyperlink@py311
  3. py311-incremental>=0 : devel/py-incremental@py311
  4. py311-Tubes>=0 : textproc/py-Tubes@py311
  5. py311-twisted>=0 : devel/py-twisted@py311
  6. py311-typing-extensions>=0 : devel/py-typing-extensions@py311
  7. py311-werkzeug>=0 : www/py-werkzeug@py311
  8. py311-zope.interface>=0 : devel/py-zope.interface@py311
  9. python3.11 : lang/python311
This port is required by:
for Run
  1. filesystems/py-tahoe-lafs

Configuration Options:
No options to configure
Options name:
www_py-klein
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/k/klein/
  2. https://pypi.org/packages/source/k/klein/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
24.8.0
03 Jun 2025 20:32:47
commit hash: 2dd0ac538f4031d21f9c81ff9bc3b42cb2c0f93acommit hash: 2dd0ac538f4031d21f9c81ff9bc3b42cb2c0f93acommit hash: 2dd0ac538f4031d21f9c81ff9bc3b42cb2c0f93acommit hash: 2dd0ac538f4031d21f9c81ff9bc3b42cb2c0f93a files touched by this commit
Jesús Daniel Colmenares Oviedo (dtxdf) search for other commits by this committer
www/py-klein: New port: Micro-framework for developing production-ready web
services

Klein is a micro-framework for developing production-ready web
services with Python. It is 'micro' in that it has an incredibly
small API similar to Bottle and Flask. It is not 'micro' in that
it depends on things outside the standard library. This is primarily
because it is built on widely used and well tested components like
Werkzeug and Twisted.

PR:		287125
Approved by:	acm (mentor)

Number of commits found: 1