semvec/pypi-packages huggingface dataset:
motile 0.3.0
Multi-Object Tracker using Integer Linear Equations
License: MIT

# motile: Multi-Object Tracker using Integer Linear Equations

[![License](https://img.shields.io/pypi/l/motile.svg)](https://github.com/funkelab/motile/raw/main/LICENSE)
[![PyPI](https://img.shields.io/pypi/v/motile.svg)](https://pypi.org/project/motile)
[![CI](https://github.com/funkelab/motile/actions/workflows/ci.yaml/badge.svg)](https://github.com/funkelab/motile/actions/workflows/ci.yaml)
[![codecov](https://codecov.io/gh/funkelab/motile/branch/main/graph/badge.svg)](https://codecov.io/gh/funkelab/motile)

`motile` tracks multiple objects by solving a global optimization problem.

Read all about it in the [documentation](https://funkelab.github.io/motile/).

## Installation

Motile depends on [`ilpy`](https://github.com/funkelab/ilpy), which is currently only available via
conda on the `funkelab` channel.  `ilpy` in turn requires
gurobi which is only available via the `gurobi` channel.

So, to create a new environment with motile:

```bash
conda create -n my_env -c conda-forge -c funkelab -c gurobi ilpy
conda activate my_env
pip install motile
```

or, to install into an existing environment:

```bash
conda install -c conda-forge -c funkelab -c gurobi ilpy
pip install motile
```

## Development

```sh
git clone https://github.com/funkelab/motile  # or your fork
cd motile

# currently required to build ilpy dependency wheel
conda install scip

pip install -e .[dev]
```

### Testing

```sh
pytest
```

### Deployment

> note for developers

To deploy a new version, first make sure to bump the version string in
`motile/__init__.py`.  Then create an **annotated** tag, and push it to github.
This will trigger the `deploy.yaml` workflow to upload to PyPI

```bash
git tag -a vX.Y.Z -m vX.Y.Z
git push upstream --follow-tags
```

### Building Documentation

```sh
pip install -e .[docs]
make docs && open docs/_build/html/index.html

# or to start a live-reloading server
make docs-watch
```
rohrpost 4.1.0
rohrpost WebSocket protocol for ASGI
License: MIT
Requires Python: >=3.8

rohrpost |ghactions| |coveralls| |pypi|
=======================================

`rohrpost` is a simple WebSocket protocol that works well with Django_ using
Channels_. It will interface with every service implementing the ASGI_
specification (which, at the moment, is primarily Channels_ with Daphne_).

The client implementation is rohrpost-js_.

Capabilities
------------

`rohrpost` specifies a very simple protocol with messages looking like this:

.. code:: JSON

    {
        "id": 123,
        "type": "ping",
        "data": "something",
    }

This message will be handled by the ping handler (which rohrpost provides out
of the box). You can add custom handlers using a method decorator. Please see
`our documentation`_ for details on the protocol and handler implementation.

`rohrpost` also provides a mixin for Django_ models to push notifications on
changes (create, update, delete).

Installation
------------

From the command line::

    pip install rohrpost

Or add this line to your `requirements.txt`::

    rohrpost==3.*

Development
-----------

For development you'll need to have the test environment installed. This is
rather large since `rohrpost` works mainly in conjunction with Channels_,
Daphne_, Django_ and so on. ::

    pip install -r requirements/dev.txt

Run tests and style checks in this directory::

    python -m pytest
    python -m isort .
    python -m black rohrpost tests
    python -m flake8
    python -m pylint  --recursive=y --reports=y --verbose ./


.. _ASGI: https://channels.readthedocs.io/en/latest/asgi.html
.. _Channels: https://github.com/django/channels
.. _Daphne: https://github.com/django/daphne/
.. _Django: https://www.djangoproject.com/
.. _rohrpost-js: https://github.com/axsemantics/rohrpost-js
.. _our documentation: https://rohrpost.readthedocs.io
.. |ghactions| image:: https://github.com/axsemantics/rohrpost/workflows/Tests/badge.svg
    :target: https://github.com/axsemantics/rohrpost/actions/workflows/tests.yml
.. |coveralls| image:: https://coveralls.io/repos/github/axsemantics/rohrpost/badge.svg?branch=main
    :target: https://coveralls.io/github/axsemantics/rohrpost?branch=main
.. |pypi| image:: https://img.shields.io/pypi/v/rohrpost.svg
    :target: https://pypi.python.org/pypi/rohrpost/
bugout 0.2.17
Python client library for Bugout API
License: MIT
Requires Python: >=3.6

# bugout-python
Python client library for Bugout API

## Setup
- Add variables from `sample.env` in you development environment
```bash
export BUGOUT_TIMEOUT_SECONDS=5
```

- Example of usage, just fill `token`, `group_id`, `journal_id` and `entry_id` with proper values from your account. Or remove unnecessary variables and API calls.
```python
from bugout.app import Bugout


def main():
    bugout = Bugout()

    token = ""
    group_id = ""
    journal_id = ""
    entry_id = ""

    user = bugout.get_user(token=token)
    print(f"User name is {user.username}")

    group = bugout.get_group(token=token, group_id=group_id)

    journal = bugout.get_journal(token=token, journal_id=journal_id)
    entry = bugout.get_entry(token=token, journal_id=journal.id, entry_id=entry_id)

    search_res = bugout.search(
        token=token, journal_id=journal.id, query="your query", content=False
    )
    print(f"Search results: {search_res}")


if __name__ == "__main__":
    main()
```