semvec/pypi-packages huggingface dataset:
nr.appfire 0.3.0
Appfire is a toolkit that provides utilities for quickly building configurable microservices.
License: MIT
Requires Python: >=3.7.0,<4.0.0

# nr.appfire

Appfire is a toolkit that provides utilities for quickly building configurable microservices.

## Components

### `nr.appfire.tasks`

This package provides an easy-to-use framework for managing background tasks in a Python application.

__Example__

```py
import dataclasses
from nr.appfire.tasks import Runnable, Task, DefaultExecutor

@dataclasses.dataclass
class Looper(Runnable[None]):
  loops: int

  def run(self, task: Task[None]) -> None:
    for i in range(self.loops):
      print(i)
      if not task.sleep(1):
        print('Bye, bye')
        break

executor = DefaultExecutor('MyApp')
executor.execute(Looper(10))
executor.idlejoin()
```

---

<p align="center">Copyright &copy; 2021 Niklas Rosenstein</p>
borderline 0.3.0
Tests that new imports within a module respect the public API boundary.
License: MIT
Requires Python: >=3.6.2,<4.0

# Borderline

Stop letting modules reach into other modules.

---

![python-package](https://github.com/ctk3b/borderline/actions/workflows/python-package.yml/badge.svg)
[![PyPI version fury.io](https://badge.fury.io/py/borderline.svg)](https://pypi.python.org/pypi/borderline/)

This library provides one thing and one thing only: a test class called `TestModuleImports`. 

To use the test, subclass it in the test suite of the module you want to isolate and define that module's borderlines.
The test will fail if a module is not respecting those borderlines.

For example, a module called `report_builder` could have the following definition:

```python
class TestReportBuilder(ModuleImports):
    module = "reporting.report_builder"
    
    # The public API of the module.
    # External modules should only import from here.
    public_submodules = (
        "reporting.report_builder.api",
    )
    # Modules that are considered outside of `module` and should not be imported
    # by `module` unless they are a legitimate dependency.
    external_modules = (
        "reporting",
    )
    # Modules outside of `module` that ARE legitimate dependencies.
    external_dependencies = (
        "reporting.review.api",
        "reporting.common",
    )

    # Directory to store imports that are currently allowed.
    # This is useful when you are trying to isolate an existing module
    # that is not respecting its borderlines.
    grandfather_filedir = Path(
        "reporting/report_builder/tests/data/borderline", parents=True, exist_ok=True
    )
```
networkparse 1.9.0
Simple read-only parser for Cisco IOS, NX-OS, HP, and other network device running configs
License: MIT
Requires Python: >=3.7,<4.0
Keywords: xylok,cyber

Installing
==========

.. code-block::

    pip install --user networkparse

Using
=====
Docs are available on `Read the Docs`_

.. _`Read the Docs`: https://networkparse.readthedocs.io/en/latest/


License
=======
This module was developed by and for Xylok_. The code is release under the MIT license.

.. _Xylok: https://www.xylok.io


Credits
=======
This module was inspired by CiscoConfParse_.

.. _CiscoConfParse: https://github.com/mpenning/ciscoconfparse