semvec/pypi-packages huggingface dataset:
mdns-publisher 0.9.2
Publish CNAMEs pointing to the local host over Avahi/mDNS
License: MIT
Keywords: Avahi mDNS CNAME

ABOUT
-----

This service/library publishes CNAME records pointing to the local host over multicast DNS using the **Avahi** daemon found in all major Linux distributions. Useful as a poor-man's service discovery or as a helper for named virtual-hosts in development environments.

Since Avahi is compatible with Apple's Bonjour, these names are usable from MacOS X and Windows too.

See also:

    * http://www.multicastdns.org
    * https://www.avahi.org
    * https://www.apple.com/support/bonjour

DEPENDENCIES
------------

Besides a running Avahi daemon, this service requires the ``dbus-python`` bindings which, in turn, requires the development packages for D-Bus and D-Bus Glib (eg. ``dbus-devel`` and ``dbus-glib-devel`` in CentOS 7).

INSTALLATION
------------

This package can be installed from source by running::

    python setup.py build
    python setup.py install

Or, you can install the latest stable release from PyPI::

    pip install mdns-publisher

**Note:** If you're using Python 2.7 and you get errors installing ``dbus-python``, you may need to upgrade your ``pip`` version::

    pip install --upgrade pip

RUNNING
-------

Pass (one or more) CNAMEs as command-line arguments to ``mdns-publish-cname``::

    mdns-publish-cname name01.local name02.local

Names must use the ``.local`` domain but can have arbitrary sub-domains::

    mdns-publish-cname name01.local name02.local name03.mysubdomain.local

If the server running ``mdns-publish-cname`` is being announced over mDNS as ``myserver.local``, all of these names will be answered by Avahi as CNAMEs for ``myserver.local``, regardless of any sub-domains they might have. They remain available as long as ``mdns-publish-cname`` is running.

Run ``mdns-publish-cname`` with no arguments to find out about the available options.

**Note:** You can find a sample ``mdns-publish-cname.service`` file for ``systemd`` in the source repository.

INTEGRATING
-----------

The ``AvahiPublisher`` class in the ``mpublisher`` module can be integrated into your application to have it publish its own CNAMEs.
yamlsettings-requests 1.0.0
YamlSettings Request Extension
License: MIT

yamlsettings-requests
---------------------

YamlSettings Extension for http files

.. image:: https://travis-ci.org/KyleJamesWalker/yamlsettings-requests.svg?branch=master
    :target: https://travis-ci.org/KyleJamesWalker/yamlsettings-requests

.. image:: https://codecov.io/gh/KyleJamesWalker/yamlsettings-requests/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/KyleJamesWalker/yamlsettings-requests

Usage
=====

.. code-block:: python

 import yamlsetttings

 config = yamlsettings.load('https://www.example.com/config.yaml')
ocad 0.0.2
Module for handling ocad-files
License: MIT
Requires Python: >=3


# OCAD

This is a python-modul which contains usefull fuctions when handling with ocad-files.

### Install

$ pip install ocad

### Example


```python
from ocad import ocad
```


```python
ocad.file_is_cs("OCAD12-File-Sample.ocd")

    >>>False
```

```python
ocad.file_is_map("OCAD12-File-Sample.ocd")

    >>>True
```

```python
ocad.file_is_ocad("OCAD12-File-Sample.ocd")

    >>>True
```

```python
ocad.file_version("OCAD12-File-Sample.ocd", format='short')

    >>>'12'
 ```


```python
ocad.file_info("OCAD12-File-Sample.ocd")

 >>>{'epsg_code': None,
     'epsg_name': None,
     'georeferenced': True,
     'note': 'map note',
     'number_of_backgroundmaps': 0,
     'number_of_classes': 0,
     'number_of_colors': 1,
     'number_of_courses': 0,
     'number_of_spot-colors': 0,
     'scale': '10000.000000',
     'typ': 'map',
     'version_long': '12.3.1',
     'version_short': '12'}
```