py36-deprecation-2.0.6.txz


Advertisement

Description

py36-deprecation - Library to handle automated deprecations

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Latest amd64
Package name py36-deprecation
Package version 2.0.6
Package architecture amd64
Package type txz
Installed size 44.03 KB
Download size 11.97 KB
Official Mirror pkg.freebsd.org
The deprecation library provides a deprecated decorator and a
fail_if_not_removed decorator for your tests. Together, the two enable the
automation of several things:
- The docstring of a deprecated method gets the deprecation details appended to
the end of it. If you generate your API docs direct from your source, you
don't need to worry about writing your own notification. You also don't need
to worry about forgetting to write it. It's done for you.
- Rather than having code live on forever because you only deprecated it but
never actually moved on from it, you can have your tests tell you when it's
time to remove the code. The @deprecated decorator can be told when it's time
to entirely remove the code, which causes @fail_if_not_removed to raise an
AssertionError, causing either your unittest or py.test tests to fail.
WWW: https://pypi.org/project/deprecation/
WWW: https://github.com/briancurtin/deprecation
Categories: devel, python
Maintainer: sunpoet@FreeBSD.org

Alternatives

Package Version Architecture Repository
py36-deprecation-2.0.6.txz 2.0.6 i386 FreeBSD Ports Latest
py36-deprecation - - -

Requires

Name Value
py36-packaging = 18.0
py36-setuptools = 40.0.0
python36 = 3.6.6_1

Download

Type URL
Binary Package py36-deprecation-2.0.6.txz
Source Package devel/py-deprecation

Install Howto

Install py36-deprecation txz package:

# pkg install py36-deprecation

See Also

Package Description
py36-dexml-0.5.1_1.txz Dead-simple Object-XML mapper for Python
py36-dfdatetime-20181025.txz Digital Forensics Date and Time
py36-dfvfs-20180831.txz Digital Forensics Virtual File System
py36-dfwinreg-20180712.txz Digital Forensics Windows Registry
py36-diazo-1.2.8.txz Deliverance like language using a pure XSLT engine
py36-diff-match-patch-20121119.txz Algorithms for converting plain text
py36-diffoscope-103.txz In-depth comparison of files, archives, and directories
py36-dill-0.2.8.2.txz Serialize all of python
py36-dirspec-13.10.txz XDG Base and User directories implementation
py36-dirsync-2.2.3.txz Advanced directory tree synchronisation tool
py36-discid-1.1.1.txz Python libdiscid bindings
py36-discogs-client-2.2.1.txz Python interface to Discogs website
py36-dispy-4.9.1_1.txz Distributed and Parallel Computing with/for Python
py36-distlib-0.2.8.txz Low-level components of distutils2 and higher-level APIs
py36-distro-1.2.0.txz Linux OS platform information API
Advertisement
Advertisement