semvec/pypi-packages huggingface dataset:
configloader 1.0.1
Python dict that supports common app configuration-loading scenarios.
License: MIT
Keywords: configloader

============
ConfigLoader
============

.. image:: https://travis-ci.org/adblair/configloader.svg?branch=master
        :target: https://travis-ci.org/adblair/configloader

.. image:: https://coveralls.io/repos/adblair/configloader/badge.svg?branch=master&service=github
        :target: https://coveralls.io/github/adblair/configloader?branch=master

.. image:: https://img.shields.io/pypi/dm/configloader.svg
        :target: https://pypi.python.org/pypi/configloader

ConfigLoader is a Python dictionary subclass that provides convenience methods
for common app configuration-loading scenarios, inspired by `flask.Config`_.


Features
--------

Easily load config settings from:

* Python modules, classes or objects
* JSON files
* YAML files
* Environment variables

Supports Python 2.6+ and 3.3+.


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

Install ConfigLoader from `PyPI`_ using `pip`_::

    pip install configloader[all]

The ``[all]`` indicates that all optional dependencies (AttrDict and PyYAML)
should be installed.


Example usage
-------------

::

    >>> from configloader import ConfigLoader
    >>> config = ConfigLoader
    >>> config.update_from_object('my_app.settings')
    >>> config.update_from_yaml_env('YAML_SETTINGS_PATH')


Documentation
-------------

https://configloader.readthedocs.org/en/stable/


.. _flask.Config: http://flask.pocoo.org/docs/0.10/api/#configuration
.. _PyPI: https://pypi.python.org/pypi
.. _pip: https://pip.pypa.io/
17MonIP 0.2.7
IP search based on 17mon.cn, the best IP database for China.
License: MIT

17MonIP Python Lib
==================

.. image:: http://img.shields.io/pypi/v/17MonIP.svg?style=flat
   :target: https://pypi.python.org/pypi/17MonIP

.. image:: http://img.shields.io/travis/lxyu/17monip/master.svg?style=flat
   :target: https://travis-ci.org/lxyu/17monip

.. image:: http://img.shields.io/pypi/dm/17MonIP.svg?style=flat
   :target: https://pypi.python.org/pypi/17MonIP

IP search based on 17mon.cn, the best IP database for china.

Source: http://tool.17mon.cn


Install
-------

Supports python2.6 to python3.4 and pypy.

.. code:: bash

    $ pip install 17monip

Usage
-----

.. code:: python

    >>> import IP
    >>> IP.find("www.baidu.com")
    '中国\t浙江\t杭州'
    >>> IP.find("127.0.0.1")
    '本机地址\t本机地址'


CMD Util
--------

.. code:: bash

    $ iploc ele.me
    中国    北京    北京
    $ iploc aliyun.com
    中国    浙江    杭州


Changelog
---------

https://github.com/lxyu/17monip/blob/master/CHANGES.rst
python-radix 0.1.1
A tool for conversion numbers from one base to another
License: MIT
Keywords: radix numbers

# python-radix

Python-radix library
====================

The library contains tools for conversion numbers to a new base. Current version works with radixes from 2 to 36.

Python-radix usage examples
---------------------------
Python-radix has both procedural and object-oriented solutions.

**Procedural way example**

    # to convert number 4 from base 10 to base 2

    cast(4, 10, 2)

    >>'100'

You can use both str and int types for the number you convert.

**Object oriented way example**

    # create an object to convert numbers from one base to another (here it converts from base 10 to base 2)

    new = Converter(10, 2)

    new.convert(4)

    >>'100'

This will work too:

    new = Converter(10, 2)

    new.convert('4')

    >>'100'