semvec/pypi-packages huggingface dataset:
gaode 0.1.0
Gaode Python SDK.
License: MIT
Requires Python: >=3.6.0

# Gaode - 高德 API

Gaode SDK for Python, which based on https://lbs.amap.com/api/webservice/summary/

### Install

```shell script
pip install gaode
```

### Usage

All API supported! please visit **[Supported methods](https://lbs.amap.com/api/webservice/guide/api/georegeo)** for more information!

```python
from gaode import Gaode

token = "TOKEN"
word = "饸饹"
gd = Gaode(token)
ret = gd.place_text(word=word)  # Limited to use `keyword arguments`
```

```json
{
    "count": "0",
    "info": "OK",
    "infocode": "10000",
    "pois": [],
    "status": "1",
    "suggestion": {
        "cities": [
            {
                "name": "西安市",
                "num": "1849"
            },
            ...
        ],
        "keywords": []
    }
}
```
sc-python-templates 0.0.3
template python project
License: MIT
Requires Python: >=3.6
Keywords: python template

.. image:: https://badge.fury.io/py/sc-python-templates.svg
    :target: https://badge.fury.io/py/sc-python-templates
.. image:: https://img.shields.io/pypi/pyversions/sc-python-templates
    :alt: PyPI - Python Version

A simple Python project sample structure
========================================

This project provides a sample structure for creating python project.


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

It is possible to install the tool with `pip`::

    pip install sc-python-templates

Configuration
-------------

First, make sure /var/opt/sc directory exists, if not create this directory and make sure current user has the right
to create files in this directory.

You can copy `default.yml <https://github.com/Scott-Lau/sc-python-templates/blob/master/sc_templates/tests/sample_config/default.yml>`_
to /var/opt/sc/.sc-python-templates/production.yml to initialize the production configuration.

The default configuration file looks like this::

    dev:
      # whether this program is running is development mode
      dev_mode: False

License
-------

The script is released under the MIT License.  The MIT License is registered
with and approved by the Open Source Initiative [1]_.

.. [1] https://opensource.org/licenses/MIT
little-api 0.0.2
Little API the web framework that could
License: MIT
Requires Python: >=3.6.0

# Little-API: The little web framework that could

![PyPI](https://img.shields.io/pypi/v/little-api.svg)

It's a WSGI framework and can be used with any WSGI application server such as Gunicorn.

## Installation

```shell
pip install little-api
```

## Usage

``` python
from little_api.api import API

app = API()

# Json Response Example
@app.route("/home")
def home(request, response):
    response.json = {"name": "little-api"}

# Class Base Route Example
@app.route("/book")
class BookResource:
    def get(self, req: Request, resp: Response):
        resp.text = "Get Books Page"

    def post(self, req: Request, resp: Response):
        resp.text = "Create Books Page"


# Rendering Template Example
@app.route("/template")
def template_render(req: Request, resp: Response):
    resp.body = app.template(
        "index.html", context={"name": "Little-Api", "title": "Best Framework"}
    )

```

## Running with DebugServer
little-api has a wrapper around the gunicorn server to allow for easier debugging

```python
if __name__ == "__main__":
    from little_api.debug_server import DebugServer
    DebugServer(application=app, port=8080).run()
```
sc-gitlab-msg-consumer 0.0.2
A rocketmq message consumer for Gitlab WebHook messages
License: MIT
Requires Python: >=3.6
Keywords: Git Gitlab Python WebHook Consumer

.. image:: https://badge.fury.io/py/sc-gitlab-msg-consumer.svg
    :target: https://badge.fury.io/py/sc-gitlab-msg-consumer
.. image:: https://img.shields.io/pypi/pyversions/sc-gitlab-msg-consumer
    :alt: PyPI - Python Version

A simple message consumer for Gitlab WebHook messages
=====================================================

This project provides A simple message consumer for Gitlab WebHook messages that were previously sent to a rocketmq server

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

It is possible to install the tool with `pip`::

    pip install sc-gitlab-msg-consumer

Configuration
-------------

First, make sure /var/opt/sc directory exists, if not create this directory and make sure current user has the right
to create files in this directory.

You can copy `default.yml <https://github.com/Scott-Lau/sc-gitlab-msg-consumer/blob/master/consumer/tests/sample_config/default.yml>`_
to /var/opt/sc/.sc-gitlab-msg-consumer/production.yml to initialize the production configuration.

The default configuration file looks like this::

    dev:
      # whether this program is running is development mode
      dev_mode: False

    # rocketmq configurations
    rocketmq:
      # name server ip
      name_server_ip: "localhost"
      # name server port
      name_server_port: 9876
      # group id
      group_id: "GITLAB_WEBHOOK_MSG_CONSUMER"
      # message topic
      msg_topic: "GITLAB_WEBHOOK"



Running
-------

After installation and configuration, you can simply run this program using::

    sh sc-gitlab-msg-consumer

Logs will be saved at /tmp/logs/sc-sys.log

Dependencies
------------

* `sc-utilities <https://github.com/Scott-Lau/sc-utilities>`_ >= 0.0.2
* `sc-config <https://github.com/Scott-Lau/sc-config>`_ >= 0.0.3
* `rocketmq-client-python <https://github.com/apache/rocketmq-client-python>`_ >= 2.0.0

License
-------

The script is released under the MIT License.  The MIT License is registered
with and approved by the Open Source Initiative [1]_.

.. [1] https://opensource.org/licenses/MIT
sc-gitlab-webhook 0.0.7
A simple Gitlab WebHook
License: MIT
Requires Python: >=3.6
Keywords: Git Gitlab Python WebHook

.. image:: https://badge.fury.io/py/sc-gitlab-webhook.svg
    :target: https://badge.fury.io/py/sc-gitlab-webhook
.. image:: https://img.shields.io/pypi/pyversions/sc-gitlab-webhook
    :alt: PyPI - Python Version

A simple Gitlab WebHook
========================================

This project provides a Gitlab web hook to receive Gitlab events and process these events.


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

It is possible to install the tool with `pip`::

    pip install sc-gitlab-webhook

Configuration
-------------

First, make sure /var/opt/sc directory exists, if not create this directory and make sure current user has the right
to create files in this directory.

You can copy `default.yml <https://github.com/Scott-Lau/sc-gitlab-webhook/blob/master/webhook/tests/sample_config/default.yml>`_
to /var/opt/sc/.sc-gitlab-webhook/production.yml to initialize the production configuration.

The default configuration file looks like this::

    dev:
      # whether this program is running is development mode
      dev_mode: False

    # flask server info
    server:
      # flask server IP
      ip: "localhost"
      # flask server port
      port: 8080

    # rocketmq configurations
    rocketmq:
      # name server ip
      name_server_ip: "localhost"
      # name server port
      name_server_port: 9876
      # group id
      group_id: "GITLAB_WEBHOOK_MSG"
      # message topic
      msg_topic: "GITLAB_WEBHOOK"
      # message keys
      msg_keys: "GITLAB"
      # message tags
      msg_tags: "GITLAB"


Dependencies
------------

* `sc-utilities <https://github.com/Scott-Lau/sc-utilities>`_ >= 0.0.2
* `sc-config <https://github.com/Scott-Lau/sc-config>`_ >= 0.0.3
* `flask <https://github.com/pallets/flask>`_ >= 1.1.2
* `rocketmq-client-python <https://github.com/apache/rocketmq-client-python>`_ >= 2.0.0

License
-------

The script is released under the MIT License.  The MIT License is registered
with and approved by the Open Source Initiative [1]_.

.. [1] https://opensource.org/licenses/MIT