py36-deprecation - Library to handle automated deprecations

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Latest i386
Package filename py36-deprecation-2.0.7.txz
Package name py36-deprecation
Package version 2.0.7
Package release -
Package architecture i386
Package type txz
Category devel python
License APACHE20
Download size 12.00 KB
Installed size 44.10 KB
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.


Package Version Architecture Repository
py36-deprecation-2.0.7.txz 2.0.7 amd64 FreeBSD Ports Latest
py36-deprecation-2.0.7.txz 2.0.7 i386 FreeBSD Ports Quarterly
py36-deprecation-2.0.7.txz 2.0.7 amd64 FreeBSD Ports Quarterly
py36-deprecation - - -


Name Value
py36-packaging = 19.1
py36-setuptools = 41.0.1
python36 = 3.6.9


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

Install Howto

Install py36-deprecation txz package:

# pkg install py36-deprecation

See Also

Package Description
py36-descartes-1.1.0_1.txz Use geometric objects as matplotlib paths and patches
py36-dexml-0.5.1_1.txz Dead-simple Object-XML mapper for Python
py36-dfdatetime-20190517.txz Digital Forensics Date and Time
py36-dfvfs-20190609.txz Digital Forensics Virtual File System
py36-dfwinreg-20190517.txz Digital Forensics Windows Registry
py36-dialog3-3.4.0.txz Python 3 interface to dialog(3)
py36-diazo-1.2.11.txz Deliverance like language using a pure XSLT engine
py36-diff-match-patch-20181111.txz Algorithms for converting plain text
py36-diffoscope-108.txz In-depth comparison of files, archives, and directories
py36-dill-0.3.1.txz Serialize all of python
py36-dirspec-13.10.txz XDG Base and User directories implementation
py36-dirsync-2.2.4.txz Advanced directory tree synchronisation tool
py36-discid-1.2.0.txz Python libdiscid bindings
py36-discogs-client-2.2.1.txz Python interface to Discogs website
py36-dispy-4.10.6.txz Distributed and Parallel Computing with/for Python