semvec/pypi-packages huggingface dataset:
mspac 0.3.5
An apt-like pacman wrapper.
License: MIT
Keywords: pacman aur

# mspac

An apt-like wrapper for pacman.

## Getting Started

In order to run this software, you need **Python**, it does not matter what version (provided it is updated enough), **mspac** will only run in **Python 3**.

## Installation

You can (and you are encouraged to) use pip in order to retrieve the package from PyPI:
`sudo pip install mspac`
Then run it without arguments (`mspac`), to check the available options.

Alternately, just clone this repository and execute `mspac/mspac_tool.py` with the supported arguments.

## Usage

`mspac [-h] [operation [packages ...]]`

## Examples

Add '-f' or '--force' to force operations in case of errors.

### Installing a package

The following command will install package1 and package2:

`mspac install package1 package2`

### Removing a package

Remove package1 and package2:

`mspac remove package1 package2`

### Updating the repositories

You can easily update the databases and upgrade all packages:

`mspac update`

### Upgrading packages

Updates the databases, and upgrades all packages that are not up-to-date:

`mspac upgrade`

### Syncing packages

Updates the repositories and then updates all packages that are not up-to-date:

`mspac sync`

*Note: update, upgrade and sync are commands that obtain the same result.*

### Remove unused / orphan packages

Remove packages that are no longer needed in the system:

`mspac autoremove`
dtype-decorate 0.1.2
data type check and conversion decorators
License: MIT

DType-Decorate
==============

The DType-Decorate module defines two different decorators at the current state. These decorators can be used to
constrain the attributes of the decorated function to specific data types. This can help to keep functions clean
especially when they are written for a specific context. This is usually the case for scientific applications,
where functionality is often more important than clean code.

The basic structure of this module was heavily inspired / extended on the basis of:
https://stackoverflow.com/questions/15299878/how-to-use-python-decorators-to-check-function-arguments


Installation
~~~~~~~~~~~~

You can either use `pip` to install the version from PyPI or git to install the probably more recent version from
github.

.. code-block:: bash

  git clone http://github.com/mmaelicke/dtype-decorate.git
  cd dtype-decorate
  pip install -r requirements.txt
  python setup.py install


.. code-block:: bash

  pip install dtype-decorate


Usage
~~~~~

There are two decorators so far: `accept` and `enforce`. `accept` will restrict the attribute data types to the
the defined ones, while `enforce` will try to convert the given attribute to a desired data type.
Both can also be used together, where `accept` does only make sense to be used after `enforce`.

Define a function that does only accept an `int` and a `float`.

.. code-block:: python

  import ddec
  @ddec.accept(a=int, b=float)
  def f(a, b):
    pass

You can also specify more than one data type allowed. Any attribute not given in the decorator will just be
ignored.

.. code-block:: python

  @ddec.accept(a=(int, float))
  def f(a, be_any_type)
    pass

  f(5, 'mystr')   # will run fine
  f('mystr', 5)   # will raise a TypeError

The `accept` decorator can also handle None type and callables like functions or lambda. These have to be specified
as a string.

.. code-block:: python

  @ddec.accept(a='None', b=('None', 'callable'))
  def f(a, b):
    pass

  f(None, None)           # will run fine
  f(None, lambda x: x)    # will run fine
  f(5, None)              # will raise a TypeError
sirbot.plugins 0.2.0
Plugins for the good Sir Bot-a-lot
License: MIT
Requires Python: ~=3.6
Keywords: sirbot,chatbot,bot

=========================
Plugins for Sir Bot-a-lot
=========================

|build|

Collection of various plugins for `Sir Bot-a-lot`_.

The uses of bots are nearly endless and come in all shapes and sizes.
They can handle Slack shenanigans, monitor the status of a crypto-currency,
or become your personal assistant. Sir Bot-a-lot can help you get started
writing your own.

Sir Bot-a-lot and sirbot-plugins are projects maintained by the `pyslackers`_
community. Want to join? `Get an invite`_ !

.. _pyslackers: http://pyslackers.com
.. _Get an invite: http://pyslackers.com

.. |build| image:: https://travis-ci.org/pyslackers/sirbot-plugins.svg?branch=master
    :alt: Build status
    :target: https://travis-ci.org/pyslackers/sirbot-plugins

.. _Sir Bot-a-lot: https://github.com/pyslackers/sir-bot-a-lot
sir-bot-a-lot 0.2.0
The good Sir Bot-a-lot. An asynchronous python bot framework.
License: MIT
Requires Python: ~=3.5
Keywords: sirbot,chatbot,bot,slack

======
|icon|
======

|build| |doc|

An asynchronous python bot framework.

The uses of bots are nearly endless and come in all shapes and sizes.
They can handle Slack shenanigans, monitor the status of a crypto-currency,
or become your personal assistant. Sir-bot-a-lot can help you get started
writing your own.

Sir-bot-a-lot is a project maintained by the `pyslackers`_ community.
Want to join? `Get an invite`_ !

.. _pyslackers: http://pyslackers.com
.. _Get an invite: http://pyslackers.com
.. |build| image:: https://travis-ci.org/pyslackers/sir-bot-a-lot.svg?branch=master
    :alt: Build status
    :target: https://travis-ci.org/pyslackers/sir-bot-a-lot
.. |doc| image:: https://readthedocs.org/projects/sir-bot-a-lot/badge/?version=latest
    :alt: Documentation status
    :target: http://sir-bot-a-lot.readthedocs.io/en/latest
.. |icon| image:: icon/icon-500.png
    :width: 10%
    :alt: Sir-bot-a-lot icon
    :target: http://sir-bot-a-lot.readthedocs.io/en/latest

Documentation available `here`_.

.. _here: http://sir-bot-a-lot.readthedocs.io/en/latest/