semvec/pypi-packages huggingface dataset:
openhltest 1.0.22
OpenHLTest Python Client
License: MIT
Requires Python: >=2.7, <4
Keywords: openhltest keysight spirent automation

# OpenHLTest
[![Validated](https://travis-ci.org/OpenHLTest/data-models.svg?branch=master)](https://travis-ci.org/OpenHLTest/data-models)
[![Package](https://img.shields.io/pypi/v/openhltest.svg)](https://pypi.org/project/openhltest)
[![Version](https://img.shields.io/pypi/pyversions/openhltest.svg)](https://pypi.org/project/openhltest)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://en.wikipedia.org/wiki/MIT_License)

OpenHLTest is a collaborative effort by test vendors to develop agnostic programmatic interfaces and tools for managing test equipment.  

OpenHLTest's focus is the following:
- a consistent set of YANG vendor-neutral data models 
- continuous integration yielding a single set of client artifacts
- test vendor server implementations of the data models

## Artifacts
On every commit to the repository a [Travis job](https://travis-ci.org/OpenHLTest/data-models) will do the following:
- validate the models
- generate the python package and the documentation browser artifacts
- upload the [python package](https://pypi.org/project/openhltest/) and the [documentation browser](https://openhltest.github.io/docs/index.html)

## Contributing
This repository is primarily for publishing the models, documents, and other material developed by the OpenHLTest working group. We generally do not accept pull requests in this repository.

Feedback and suggestions to improve OpenHLTest models is welcomed by opening a [GitHub issue](https://github.com/OpenHLTest/data-models/issues).
elastictools 0.2.3
Useful tools to work with Elastic stack in Python
License: MIT
Keywords: Elastic,ElasticSearch,Elastic Stack,Python 3,Elastic 7

Useful tools to work with Elastic stack in Python

# Description

It consists of two main modules:

- `indextools`: tools to work with Elastic indices
- `doctools`: tools to work with Elastic documents

# Installation

## Normal installation

```bash
pip install elastictools
```

## Development installation

```bash
git clone https://github.com/ncthuc/elastictools.git
cd elastictools
pip install --editable .
```

# Change log

## [0.2.3] - 2019-06-19
- Fix multiple doc_type in mapping

## [0.2.2] - 2019-06-18
- Fix multiple error related to doc_type in ES7
- Update elasticsearch-py to 7.0.2
- Fix bug related to doctype while indexing document in ES 7


## [0.2.1] - 2019-06-18
- Update elasticsearch-py to 7.0.2
- Fix bug related to doctype while indexing document in ES 7

## [0.1.4] - 2018-12-07

### Added
- `DocTools.dump()`
- `DocTools.bulk_insert_from_json()`

## [0.1.3] - 2018-11-09

### Added
- `DocTools.bulk()`
- `DocTools.bulk_insert_from_csv()`
- `IndexTools.create_if_not_exists()`
- `IndexTools.truncate()`

## [0.1.2] - 2018-11-08

### Added
- `HISTORY.md`
- `long_description` in setup.py that contains content of `README.md` and `HISTORY.md`

### Changed
- `N/A`

### Removed
- `N/A`

## [0.0.1] - 2018-11-07

### Added
- `DocTools.make_search_body()`
- `DocTools.search()`
- `DocTools.msearch()`

### Changed

### Removed
allspeak 1.4.2
A pythonic internationalization and localization solution.
License: MIT
Requires Python: >=3.5,<4.0

[![Build Status](https://travis-ci.org/jpscaletti/allspeak.svg?branch=master)](https://travis-ci.org/jpscaletti/allspeak)

# Allspeak

*Allspeak* is a pythonic (yet ironically inspired by Rails) internationalization and localization solution for Python web applications.

It's flexible, easy to use and, unlike gettext, independent of any external compilation tool.

This library **does not** use gettext -we find it cumbersome, to say the least-, but instead it works with translations in **YAML** files, compatible by those used with the Rails internationalization system, so you can use any third-party service already compatible with them (for example, [Transifex](https://www.transifex.com/)).

It is powered by the [Babel](http://babel.pocoo.org/) and [pytz](http://pythonhosted.org/pytz/) libraries and tested with Python 3.5+

Read the documentation here: <http://allspeak.lucuma.co>


## What's in a name?

> "When Thor speaks with the All-Speak anyone who hears him will hear
> him speak their native language in their hearts"
> ------(from Thor's wiki page)


## Run the tests

    $  pip install .
    $  pip install .[testing]

To run the tests in your current Python version do:

    $  make test

To run them in every supported Python version do:

    $  tox

It might be also necessary to run the coverage report to make sure all lines
of code are touch by the tests:

    $  make coverage

Our test suite [runs continuously on Travis
CI](https://travis-ci.org/jpscaletti/Allspeak) with every update.
address-parser 1.0.0
Address parser
License: MIT

Address Parser
==============

Yet another python address parser for US postal addresses

Basic usage:

.. code-block:: python

    from address_parser import Parser

    parser = Parser()
    adr = parser.parse(line)

The ``adr`` object is a nested object with address parts as properties.

.. code-block:: python

    return TopBunch(
            number=Bunch(
                type='P',
                number=int(self.number) if self.number else -1,
                tnumber=str(self.number),
                end_number=self.multinumber,
                fraction=self.fraction,
                suite=self.suite,
                is_block=self.is_block
            ),

            road=Bunch(
                type='P',
                name=self.street_name,
                direction=self.street_direction if self.street_direction else '',
                suffix=self.street_type if self.street_type else ''
            ),

            locality=Bunch(
                type='P',
                city=self.city,
                state=self.state,
                zip=self.zip

            ),

            hash=self.hash,

            text=str(self)
        )


Then, you can access properties on the object. The top level properties are:

- number: The house number
    - number.number. The number as an integer, or -1 if there is no house number
    - number.tnumber: The number as text
    - number.end_number: The final number in a number rage
    - number.fraction: The fractional part of the house number
    - number.suite: A suite or unit number.
- road: The street
    - road.name: The bare street name
    - road.direction. A cardinal direction, N, S, E, W, NE, NW, etc.
    - road.suffix. The road type, sich as St, Ave, Pl.
- locality: City, state, zip
    - locality.city
    - locality.state
    - locality.zip
- text: Holds the whole address as text.

You can also access everything as dicts. From the top level, ``adr.dict`` will return all parsed components as a dict, and each of the top level bunches can also be acess as dicts, such as ``adr.road.dict``