semvec/pypi-packages huggingface dataset:
staticmapmaker 0.1.2
Create static map images with markers, geodesic lines, ...
Keywords: map staticmap osm markers

|Build Status|

StaticMapMaker
==============

-  Markers
-  Geodesic lines
-  Automatic guessing of the maps center and zoom (based on added
   objects)
-  Full anti-aliasing of drawn objects (via cairo)
-  Caching of tile images

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

StaticMapMaker is available as a Python package, which can be installed
via ``pip``:

.. code:: bash

    pip install staticmapmaker

All the rendering is done with ``pycairo`` which depends on the
``cairo`` libraries (Ubuntu package: ``libcairo2-dev``).

Usage
-----

.. code:: python

    import staticmapmaker as sm

    ctx = sm.Context()
    ctx.add_object(sm.Marker(sm.latlng(12, 34)))
    ctx.add_object(sm.Line([sm.latlng(12, 34), sm.latlng(12.5, 34.5)]))
    image = ctx.render(800, 600)
    image.write_to_png('my-map.png')

See the ``examples`` directory for more detailed usage examples.

Setting-Up a Development Environment
------------------------------------

(Instructions for Ubuntu)

.. code:: bash

    sudo apt-get install libcairo2-dev

    git clone https://github.com/flopp/staticmapmaker

    cd staticmapmaker

    virtualenv -p python3 env
    source env/bin/activate

    pip install -r requirements.txt -r requirements-dev.txt

    # run linter (flake8)
    make lint

    # run unit-tests (pytest)
    make test

    # run example scripts
    PYTHONPATH=. examples/zrh_swiss_destinations.py
    PYTHONPATH=. cli/main.py --help

License
-------

Copyright 2017 Florian Pigorsch & Contributors. All rights reserved.

Use of this source code is governed by a MIT-style license that can be
found in the
`LICENSE <https://github.com/flopp/staticmapmaker/blob/master/LICENSE>`__
file.

.. |Build Status| image:: https://travis-ci.org/flopp/staticmapmaker.svg?branch=master
   :target: https://travis-ci.org/flopp/staticmapmaker
bj-phone-number 0.0.1
A fast minimal module to validate Beninese mobile phone numbers
Keywords: sample setuptools development

## bjphonenumber
A fast minimal module to validate Beninese mobile phone numbers.

### Installation
```
$ pip install bj_phone_number
```

### Usage

This module assumes that you already know that Benines numbers are prefixed by `+229` and you should not expect your users to type that. Instead your UI should look something like this.

```
     |**********************|
+229 |  phone number here   |
     |**********************|
```
```
from bj_phone_number import validate_number

number = "66526416"

print(validate_number(number)) # validate
```
aws-mfa-auth 0.0.8
Easy AWS MFA Authentication
Requires Python: >=3
Keywords: aws mfa authentication multi-factor auth

AWS MFA Authenticator
=====================

Abstract
--------

AWS MFA Authenticator tool to make using the AWS CLI with MFA easier.

Requirements
------------

 - Python 3.6+
 - aws-cli (installed and configured)

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

Install using `pip install aws-mfa-auth`.

Usage
-----

Before using this script, you must configure the tool with the ARN of the MFA device for the AWS profile you wish to authenticate with.

.. code-block:: none

    aws-mfa-auth --configure

Once configured, provide the token the first time you run the script:

.. code-block:: none

    aws-mfa-auth --token <MFA_DEVICE_TOKEN>

Then simply run `aws-mfa-auth` to output the environment variables to setup authentication.