semvec/pypi-packages huggingface dataset:
botovh 0.2.1
Is your domain name already taken? Tell BotOVH to grab it for you when it becomes available for registration.
License: MIT
Keywords: api

BotOVH is a tiny bot I wrote for my personnal needs.

Is your domain name already taken? Tell BotOVH to grab it for you when it becomes available for registration.

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

- OVH Account
- OVH API application
- Python 3.6+

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

1. Install BotOVH using pip

``pip install botovh``

BotOVH automatically installs the following dependencies:

- docopt
- python-ovh

2. Create an OVH API application

To interact with the OVH APIs, BotOVH needs to identify itself using an application_key and an application_secret. To get them, you need to register an OVH API application.

Once created, you will obtain an application key and an application secret.

3. Configure BotOVH

Create an ``botovh.conf`` configuration file at :

- Windows : ``C:\Users\<YOUR_WINDOWS_USERNAME>\.botovh\botovh.conf``

- Linux / Mac : ``/etc/botovh.conf``

Here is how the configuration file looks like :

OVH API
-------

```ini
[OVH]
ENDPOINT=ovh-eu
APPLICATION_KEY=<YOUR_APPLICATION_KEY>
APPLICATION_SECRET=<YOUR_APPLICATION_SECRET>
; Use 'botovh --key' to request your OVH consumer key.
CONSUMER_KEY=<YOUR__CONSUMER_KEY>
```

Email notification
------------------

```ini
[SMTP]
; Send email notification.
HOST=<SMTP_SERVER_ADDRESS>
PORT=465
USER=<YOUR_SMTP_USER>
PASSWORD=<YOUR_SMTP_PASSWORD>
SEND_FROM=<SEND_EMAIL_FROM>
SEND_TO=<SEND_EMAIL_TO>
```

-----
Usage
-----

Request a new OVH consumer key:

``$ botovh -k``

``$ botovh --key``

Basic usage:

``$ botovh example.com fakedomain.org``

Specify a file containing the domain names you want to check:

``$ botovh -f /path/to/file.txt``

``$ botovh --file /path/to/file.txt``

Specify your preferred payment method:

Payment methods: bankAccount, creditCard, fidelityAccount, ovhAccount or paypal.

``$ botovh -p paypal``

``$ botovh --payment creditCard``

Disable console logging using the ``--quiet`` argument:

``$ botovh example.com fakedomain.org --quiet``

Disable email notification using the ``--noemail`` argument:

``$ botovh example.com fakedomain.org --noemail``

---------------
Automate BotOVH
---------------

You can automate BotOVH to run daily using cron jobs or task scheduler depending on your system.

-------
License
-------

This code is released under a free software license and you are welcome to fork it.
wmbook 0.0.1
Templete of wmbook
License: MIT

![wmbook](https://repository-images.githubusercontent.com/191505403/6a63bc80-8d1d-11e9-8bd7-44aaa16ccdb9)

[![Build Status](https://travis-ci.org/iOSDevLog/wmbook.svg?branch=master)](https://travis-ci.org/iOSDevLog/wmbook)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/wmbook.svg)
![PyPI](https://img.shields.io/pypi/v/wmbook.svg)
![PyPI - License](https://img.shields.io/pypi/l/wmbook.svg)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/wmbook.svg)
![PyPI - Downloads](https://img.shields.io/pypi/dm/wmbook.svg)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![Twitter](https://img.shields.io/twitter/url/https/github.com/iOSDevLog/wmbook.svg?style=social)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2FiOSDevLog%2Fwmbook)

# wmbook

Machine Learning (Watermelon Book) 机器学习（西瓜书）

GitHub: [https://github.com/iOSDevLog/wmbook](https://github.com/iOSDevLog/wmbook)
PyPI: [https://travis-ci.org/iOSDevLog/wmbook](https://travis-ci.org/iOSDevLog/wmbook)

## 代码规范

### .vscode/settings.json

```json
{
  "python.pythonPath": "/Users/iosdevlog/.Envs/wmbook/bin/python",
  "python.linting.flake8Enabled": true,
  "python.formatting.provider": "yapf",
  "python.linting.flake8Args": ["--max-line-length=248"],
  "python.linting.pylintEnabled": false
}
```

- 字符串使用双引号： **""**

## 安装

```sh
pip install wmbook
```

## 开发

### 本地开发

```sh
pip3 install -e .
```

### 测试

```sh
pytest
```

### 发布

```sh
python3 setup.py sdist bdist_wheel
twine upload dist/*
```

### 生成 CHANGELOG

```sh
npm install -g conventional-changelog-cli
./version.sh
```

## 联系方式

网站: [http://2019.iosdevlog.com/](https://2019.iosdevlog.com/)

微信公众号: AI 开发日志

![wmbook](https://2019.iosdevlog.com/uploads/wmbook.jpg)

## License

wmbook is released under the MIT license. See [LICENSE](LICENSE) for details.
aidevlog 0.0.1
Templete of AIDevLog
License: MIT

![AIDevLog](https://repository-images.githubusercontent.com/191505403/6a63bc80-8d1d-11e9-8bd7-44aaa16ccdb9)

[![Build Status](https://travis-ci.org/iOSDevLog/aidevlog.svg?branch=master)](https://travis-ci.org/iOSDevLog/aidevlog)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/aidevlog.svg)
![PyPI](https://img.shields.io/pypi/v/aidevlog.svg)
![PyPI - License](https://img.shields.io/pypi/l/aidevlog.svg)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/aidevlog.svg)
![PyPI - Downloads](https://img.shields.io/pypi/dm/aidevlog.svg)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![Twitter](https://img.shields.io/twitter/url/https/github.com/iOSDevLog/aidevlog.svg?style=social)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2FiOSDevLog%2Faidevlog)

# templete

templete of AIDevLog

## 需要修改

`.travis.yml`

```sh
gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/
gem sources -l
[sudo] gem install travis
travis login
travis encrypt <PyPI password> --add deploy.password
```

### 关于转义某些符号的注意事项

请注意，如果您的 PyPI 密码包含特殊字符，则需要在加密密码之前将其转义。

[https://2019.iosdevlog.com/2019/06/05/travis/](https://2019.iosdevlog.com/2019/06/05/travis/])

## 代码规范

### .vscode/settings.json

```json
{
  "python.pythonPath": "/Users/iosdevlog/.Envs/aidevlog/bin/python",
  "python.linting.flake8Enabled": true,
  "python.formatting.provider": "yapf",
  "python.linting.flake8Args": ["--max-line-length=248"],
  "python.linting.pylintEnabled": false
}
```

- 字符串使用双引号： **""**

## 安装

```sh
pip install aidevlog
```

## 开发

### 本地开发

```sh
pip3 install -e .
```

### 测试

```sh
pytest
```

### 发布

```sh
python3 setup.py sdist bdist_wheel
twine upload dist/*
```

### 生成 CHANGELOG

```sh
npm install -g conventional-changelog-cli
./version.sh
```

## 联系方式

网站: [http://2019.iosdevlog.com/](https://2019.iosdevlog.com/)

微信公众号: AI 开发日志

![AIDevLog](https://2019.iosdevlog.com/uploads/AIDevLog.jpg)

## License

AIDevLog is released under the MIT license. See [LICENSE](LICENSE) for details.
rastachimp 0.3
Tools for topological processing of polygons vectorized from rasters
License: MIT
Keywords: gis raster vector data

# RastaChimp

RastaChimp is a utility library to perform topological processing of polygons vectorized from rasters, as returned by the [rasterio.features.shapes function](https://mapbox.github.io/rasterio/topics/features.html):

- Simplification, using Douglas-Peucker: [Shapely](https://toblerity.org/shapely/manual.html) (and GEOS) can be used to simplify polygons but will create gaps and overlaps between polygons that share a boundary (even with preserve_topology=true)
- Smoothing, using the Chaikin method
- Densify

RastaChimp decomposes the polygons into edges (using Shapely), applies an operation to them then rebuilds transformed polygons. It works well as long as the output of rasterio.features.shapes is in pixel coordinates (default) or the transform to world coordinates does not have a rotation component, which is usually the case. Because of limited floating precision, it may not work well in the more general case, although it could if the polygons are noded (for example, by using the [bpol tool of v.clean in GRASS](https://grass.osgeo.org/grass73/manuals/v.clean.html)).

### Install

`pip install rastachimp`

### Usage

The function to perform simplification is ```simplify_dp```. As inputs, it takes the tuples (geometry, value) as output from rasterio.features.shapes and the tolerance (in the same unit as the input geometries). It returns an iterator of tuples (geometry, value), just like rasterio.features.shapes.

```python
from rasterio import features
from rastachimp import as_shapely, simplify_dp

# 2D array with classification values
image = np.array(...., dtype=np.uint8)

# no transform => in pixel coordinates
shapes = features.shapes(image)

# convert to Shapely geometry (features.shapes returns a GeoJSON dict)
shapes = as_shapely(shapes)

tolerance = 2
# simpl is an interator of tuples (geometry, value)
simpl = simplify_dp(shapes, tolerance)

```

### Issues

Report issues at https://github.com/gvellut/rastachimp/issues

### TODO

- Better detection and handling of bad inputs
- Other generalization algorithms (Visvalingam)
- Other smoothing algorithm (Bezier Curves)
es-indexer 0.1
A command line tool written in Python to help quickly populate json data into Elasticsearch.
License: MIT

# es-indexer
[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)
![Linux](https://img.shields.io/badge/Supports-Linux-green.svg)
![macOS](https://img.shields.io/badge/Supports-macOS-green.svg)
![windows](https://img.shields.io/badge/Supports-windows-green.svg)

**es-indexer** (Elasticsearch Indexer) is a simple concurrent command line tool written in Python to help you quickly populate some json data into Elasticsearch. <br><br>

## About

Usually you'll have to use a third-party software or a client library to index data to Elasticsearch and setting that up can be really time consuming and tiresome (*cough*_logstash_*cough*). **es-indexer** helps in indexing raw contents of `*.json` documents quickly with the help of multi-processing. <br><br>

**es-indexer** currently doesn't provide any syncing of the data, you'll have to reindex the data if it changes, but will always populate a new index and then create an alias, the old data will be present while re-indexing until the new index is fully populated. A future update might include syncing. <br>

Since Elasticsearch exposes a REST-API on Port 9200, there's no need for es-indexer providing a REST-API itself.

## Installation

> Requires Python 3.x and is compatible with Elasticsearch 7.x.x.

* es-indexer can be installed with the help of pip.
  ```
  $ pip install es-indexer
  ```
**(OR)**

* Clone the repository.
  ```
  $ git clone https://github.com/itsron717/es-indexer.git
  ```

* Move inside the repo.
  ```
  $ cd es-indexer
  ```

* Install the package locally.
  ```
  $ pip install .
  ```

## Usage
### Config
You need to create a `config.yml` before running es-indexer:

    host: http://127.0.0.1:9200
    index: twitter-example
    type: documents
    mapping:
        settings:
            number_of_shards: 1
            number_of_replicas: 0

You can provide a custom mapping in the config file, es-indexer will convert the yaml mapping 1:1 to json.
```
$ es-indexer --config path/to/config/file --source path/to/json/folder
```

## Adding more Data Sources
More data sources other than `json` such as `SQL`, `Filesystem`, etc are also to be added to the es-indexer tool such that it can be a one stop shop for all the indexing needs of Elasticsearch. Anybody who'd like to contribute in integrating other data sources can raise and issue and we can start working on it!. 

## To-DO
- [x] Add `json` support.
- [ ] Add `SQL` data source integration.
- [ ] Add `FileSystem` data source integration.
- [ ] Increase the speed of indexing.
- [ ] Add tests.

## References

es-indexer was built using the insipiration of [this](https://github.com/arkste/elsi) amazing tool written in Go.

## License

The MIT License (MIT)

Copyright (c) 2019 [Rounak Vyas](https://www.linkedin.com/in/itsron143/)