semvec/pypi-packages huggingface dataset:
nose-leak-detector 0.1.5
A Nose plugin that detects leaks between tests, mainly with mocks
License: BSD
Keywords: testing,memory,nose,mocks

==================
nose-leak-detector
==================

Mock and memory leak detector plugin for nose.

Features:

* Detects mocks that are not reset between tests.
* Detects mocks created during tests that are not deleted by the end of the test.
* Reports memory delta between tests.  Optional.

============
Django Setup
============

To use this plugin with django nose runner, just include the following in your settings file::

    NOSE_PLUGINS = [
        'nose_leak_detector.LeakDetectorPlugin']
    NOSE_ARGS = ['--with-leak-detector', '--leak-detector-level=3']
boto3_paste 0.1
Adapt boto3 to paste
License: BSD

.. -*- coding: utf-8 -*-

===========
boto3_paste
===========

Utility for ``boto3.session.Session()``


Install
=======

from PyPI::

  pip install boto3_paste

from source::

  $ pip install .


How to use
==========

If you use ``pyramid``::

  import boto3_paste

  def main(global_config, **settings):
      boto_session = boto3_paste.session_from_config(settings)
      config = Configurator(settings=settings)

      # Some your configuration

      return config.make_wsgi_app()


Configuration Keys
==================

See ``boto3.session.Session`` and ``botocore.session.Session``'s Documents.

Example ini-file::

  boto3.aws_access_key_id =
  boto3.aws_secret_access_key =
  boto3.aws_session_token =
  boto3.region_name =
  boto3.profile_name =
  boto3.botocore.profile =
  boto3.botocore.region =
  boto3.botocore.data_path =
  boto3.botocore.config_file = ~/.aws/config
  boto3.botocore.ca_bunfle =
  boto3.botocore.credentials_file = ~/.aws/credentials
  boto3.botocore.metadata_service_timeout = 1
  boto3.botocore.metadata_service_num_attempts = 1


All keys are not mandatory.
If you don't write any keys, ``boto3.session.Session`` instances are
created by ``default``.


Change History
==============

0.1 - 2016-04-05
----------------
- Initial release.