-
python2-defusedxml-0.5.0-7.lbn25.noarch
The defusedxml package contains several Python-only workarounds and fixes for
denial of service and other vulnerabilities in Python's XML libraries. In order
to benefit from the protection you just have to import and use the listed
functions / classes from the right defusedxml module instead of the original
module. This is the Python 2 build.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
python2-deprecation-1.0-4.lbn25.py37.noarch
The deprecation library provides a deprecated decorator and a
fail_if_not_removed decorator for your tests.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
python2-docopt-0.6.2-3.lbn25.noarch
Isn't it awesome how optparse and argparse generate help messages
based on your code?!
Hell no! You know what's awesome? It's when the option parser is
generated based on the beautiful help message that you write yourself!
This way you don't need to write thisstupid repeatable parser-code,
and instead can write only the help message--*the way you want it*.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
python2-entrypoints-0.2.3-9.lbn25.py37.noarch
Entry points are a way for Python packages to advertise objects with some
common interface. The most common examples are console_scripts entry points,
which define shell commands by identifying a Python function to run.
The entrypoints module contains functions to find and load entry points.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
python2-forbiddenfruit-0.1.2-1.lbn25.x86_64
This project aims to help you reach heaven while writing tests, but it may lead you to hell if used on production code.
It basically allows you to patch built-in objects, declared in C through python. Just like this:
`python >>> from forbiddenfruit import curse >>> def words_of_wisdom(self): ... return self * "blah " >>> curse(int, "words_of_wisdom", words_of_wisdom) >>> assert (2).words_of_wisdom() == "blah blah " `
Boom! That’s it, your int class now has the words_of_wisdom method. Do you want to add a classmethod to a built-in class? No problem, just do this:
`python >>> from forbiddenfruit import curse >>> def hello(self): ... return "blah" >>> curse(str, "hello", classmethod(hello)) >>> assert str.hello() == "blah" `
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
python2-freezegun-0.3.12-1.lbn25.noarch
freezegun is a library that allows your python tests to travel through time by
mocking the datetime module. This is the Python 2 library.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
python2-funcsigs-1.0.2-11.lbn25.py37.noarch
funcsigs is a backport of the PEP 362 function signature features from
Python 3.3's inspect module. The backport is compatible with Python 2.6, 2.7
as well as 3.2 and up.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
python2-futures-3.3.0-1.lbn25.noarch
The concurrent.futures module provides a high-level interface for
asynchronously executing callables.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
python2-httpretty-0.9.5-4.lbn25.noarch
Once upon a time a python developer wanted to use a RESTful API, everything was
fine but until the day he needed to test the code that hits the RESTful API:
what if the API server is down? What if its content has changed?
Don't worry, HTTPretty is here for you.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
python2-humanize-0.5.1-13.lbn25.noarch
This modest package contains various common humanization utilities, like turning
a number into a fuzzy human readable duration ('3 minutes ago') or into a human
readable size or throughput.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25