semvec/pypi-packages huggingface dataset:
addresser 1.2.0
A Python port of the `parse-address` npm library
License: MIT
Requires Python: >=3.4
Keywords: address parser normalizer usa us parse-address

Addresser
=========

Addresser parses and normalizes street addresses and intersections. It is a port of the Node package,
`parse-address <https://github.com/hassansin/parse-address>`_, which in turn is a port of the PERL package,
`Geo::StreetAddress::US <http://search.cpan.org/~timb/Geo-StreetAddress-US-1.04/US.pm>`_.

From the `Geo::StreetAddress::US` description:

    Geo::StreetAddress::US is a regex-based street address and street intersection parser for the United States. Its
    basic goal is to be as forgiving as possible when parsing user-provided address strings. Geo::StreetAddress::US knows
    about directional prefixes and suffixes, fractional building numbers, building units, grid-based addresses (such as
    those used in parts of Utah), 5 and 9 digit ZIP codes, and all of the official USPS abbreviations for street types
    and state names...

Install
-------

Addresser can be installed from pip:

.. code-block:: text

    $ pip install addresser

Usage
-----

.. code-block:: python

    from addresser import parse_location

    parse_location('1005 N Gravenstein Highway Sebastopol CA 95472')

**Result**

.. code-block:: python

    {
        'number': '1005',
        'prefix': 'N',
        'street': 'Gravenstein',
        'type': 'Hwy',
        'city': 'Sebastopol',
        'state': 'CA',
        'zip': '95472'
    }
fact-sphere-cli 1.1.0
A CLI for Portal 2 Fact Sphere facts.
License: MIT
Requires Python: >=3.6,<4.0

# fact-sphere-cli

[![PyPI](https://img.shields.io/pypi/v/fact-sphere-cli.svg?label=PyPI)](https://pypi.org/project/fact-sphere-cli/)
![](https://img.shields.io/badge/Python-3.6%2B-blue.svg)  
[![GitHub CI](https://img.shields.io/github/workflow/status/thebigmunch/fact-sphere-cli/CI?label=GitHub%20CI)](https://github.com/thebigmunch/fact-sphere-cli/actions?query=workflow%3ACI)  

[fact-sphere-cli](https://github.com/thebigmunch/fact-sphere-cli) is a CLI for Portal 2 Fact Sphere facts using the
[fact-sphere](https://github.com/thebigmunch/fact-sphere) library.


## Installation

``pip install -U fact-sphere-cli``


## Usage

```
Usage: fact-sphere [OPTIONS] COMMAND

  A CLI for Portal 2 Fact Sphere facts.

Options:
  -V, --version  Show the version and exit.
  -h, --help     Show this message and exit.

Commands:
  text*  Get the text for a random fact.
  audio  Get the filepath or file content for a random fact.
  fact   Get the text, filepath, and type for a random fact.
```

A plain ``fact-sphere`` call defaults to running the ``text`` command.

The only option is for the ``audio`` command. Use ``--read`` option
to output the binary file content of the audio for piping.


## Appreciation

Showing appreciation is always welcome.

#### Thank

[![Say Thanks](https://img.shields.io/badge/thank-thebigmunch-blue.svg?style=flat-square)](https://saythanks.io/to/thebigmunch)

Get your own thanks inbox at [SayThanks.io](https://saythanks.io/).

#### Contribute

[Contribute](https://github.com/thebigmunch/fact-sphere-cli/blob/master/.github/CONTRIBUTING.md) by submitting bug reports, feature requests, or code.

#### Help Others/Stay Informed

[Discourse forum](https://forum.thebigmunch.me/)

#### Referrals/Donations

[![Digital Ocean](https://img.shields.io/badge/Digital_Ocean-referral-orange.svg?style=flat-square)](https://bit.ly/DigitalOcean-tbm-referral) [![Namecheap](https://img.shields.io/badge/Namecheap-referral-orange.svg?style=flat-square)](http://bit.ly/Namecheap-tbm-referral) [![PayPal](https://img.shields.io/badge/PayPal-donate-brightgreen.svg?style=flat-square)](https://bit.ly/PayPal-thebigmunch)