semvec/pypi-packages huggingface dataset:
nose_xunitmp 0.4.1
Xunit output when running multiprocess tests using nose
License: MIT
Keywords: nosetest xunit multiprocessing

Summary
=======

Nose plugin that makes xunit xml reports work when running tests on
more than one cpu.

Installation
============

::

  $ pip install nose_xunitmp


Usage
=====

::

  $ nosetests --with-xunitmp
  $ nosetests --xunitmp-file results.xml


0.4.1
---

-  Fix 'xunit_prefix_class' exception

0.4
---

-  Windows support added by Michael Killough

0.3
---

-  Updated to support nose 1.3

0.2
---

-  Fixed depedency on nose

0.1
---

-  Initial release
swappy 1.2.0.post1
Fast check swap and interact
License: MIT
Keywords: linux tools fasting swap

# Swappy

Fast tools for checking swap memory and remove it in gnu/linux system

**Installation**

```bash
$ pip install swappy
```



**Usage for programming**

```python
# create automatic procedure
from swappy.swappy import swapcheck_main
config_pathname = "/path/to/config.yml"
swapcheck_main(config_pathname,
               simulation=False,
               display_stdout=True)

# personnal usage
from swappy.swappy import SwapInfo
swap = SwapInfo()
print(swap.swap_memory().percent) # percentage of swap
print(swap.swap_total)            # total swap taken by system
print(swap.count())               # total process found
print(swap.swap_info_text("pid")) # display text/plain output ordering by pid
print(swap.can_reset())           # can we reset swap with left memories?
```

**Usage for scripting**

```bash
$ swappy-check --help
Python script to check linux swap pressure
By Mickael Badet (prog at mickbad dot com)
https://github.com/mickbad/swappy

Usage: swappy-check [options] /path/to/config.yml

Options:
  -h, --help  show this help message and exit
  --info      show in stdout swap files if alert [default=False]
  --simulate  simulate resetting swap [default=False]
  
$ sudo swappy-check /path/to/swappy.yml
Swap Checker v1.0.0
swap pressure: 0.00%
```



**Configuration**

```yaml
# -------------------------------------------------------
# - YaML configuration for swappy checker
# -------------------------------------------------------

# configuration for swap alerting
swap:
  # percent alerting (float) **default = 50.0**
  alert-limit: 20.0

  # ordering for array in template (name, pid or swap)
  order-by: swap

  # reset swap if alert
  reset-swap: True

  # post process after alert
  pre-process-alert:
    enable: True
    commands:
      # command list to before resetting
      - apt update
      - ls -lF /tmp

  # post process after alert
  post-process-alert:
    enable: True
    commands:
      # command list to after resetting
      - apt update
      - ls -la /tmp

  # send email to adminsys
  email:
    enable: True
    from: Alert Swap <my@email.com>
    subject: Alert swap on this server for {dd}/{mm}/{yyyy} - {H}:{M}:{S}
    to: my@email.com, my_another@email.com
    template: |
      <b>Alert swap detected:</b></br />
      ➡️ <u>percent info</u>: {swap_percent} %<br />
      ➡️ <u>list of pressure</u>:<br />
      {swap_list}<br />
      <br />
      AdminSys<br />

# SMTP Configuraiton
smtp:
  host: localhost
  port: 25
  tls: False
  login:
  password:
```
serafin-appengine 0.2.1
AppEngine integration for serafin
License: MIT
Keywords: serafin serialize serialization json config AppEngine Datastore


#################
serafin-appengine
#################

**serafin-appengine** is a small python library that provides Google Datastore
models integration for *serafin*.

.. note::
The project follows the semantic versioning scheme: Until 1.0 the minor

        * The *patch* versions only include bugfixes and changes that do not
          modify the existing interface. You can safely update a patch version
          without worrying it will break your code.
        * The *minor* versions will contain changes to the interface. With a
          single version update your code will most likely work or might require
          small adjustments. The more minor versions you update at once the
          bigger the chance that something will brake.
        * The *major* versions are reserved for significant refactorings and
          architecture changes. This should not happen very often so the major
          version should not change much.

.. note::
    The CircleCI builds can be found
    `here <https://circleci.com/gh/novopl/serafin-appengine>`_

.. readme_inclusion_marker

Installation
============

.. code-block:: shell

    $ pip install serafin-appengine


Contributing
============

Setting up development repo
---------------------------

.. code-block:: shell

    $ git clone git@github.com:novopl/serafin-appengine.git
    $ cd serafin
    $ virtualenv env
    $ source ./env/bin/activate
    $ pip install -r ops/devrequirements.txt
    $ python setup.py develop
    $ peltak git add-hoooks


Running tests
.............

**Config**: The types of tests are defined in ``pelconf.py`` and the
pytest configuration is defined in ``ops/tools/pytest.ini``.

.. code-block:: shell

    $ peltak test

Linting
.......

**Config**: The list of locations to lint is defined in ``pelconf.py`` and the
linters configuration is defined in ``ops/tools/{pylint,pep8}.ini``.

.. code-block:: shell

    $ peltak lint

Generating docs
...............

**Config**: The list of documented files and general configuration is in
``pelconf.py`` and the Sphinx configuration is defined in ``docs/conf.py``.

.. code-block:: shell

    $ peltak docs