semvec/pypi-packages huggingface dataset:
driverloader 0.1.3
A webdriver downloader
License: MIT
Requires Python: >=3.6,<4.0
Keywords: driverloader,webriver,selenium

## Quick start:

Download chrome driver:
```python
from driverloader import chrome_driver
print(chrome_driver.default)
```

Download firefox driver:
```python
from driverloader import firefox_driver
print(firefox_driver.default)
```

The drivers would be downloaded in **executor/** dir of the webdrivers package.
You can find chromedriver.exe or geckodriver.exe in the dir.


Using with selenium:
```python
from selenium.webdriver import Chrome
from driverloader import chrome_driver

browser = Chrome(chrome_driver.default)
browser.quit()
```

Downloading to customized path:
```python
from driverloader import chrome_driver
driver_path = chrome_driver(path='.')
```

or absolute path:
```python
import pathlib
from driverloader import chrome_driver

current_dir = pathlib.Path(__file__).parent.parent
print(chrome_driver(current_dir))
```

customized version:
```python
from driverloader import chrome_driver
driver_path = chrome_driver(path='.', version='70')
```


## command line
Using driverloader by command line like this:
```bash
driverloader chrome .
driverloader firefox .
```
Two arguments:
- driver_name, chrome and firefox supported.
- path,  the path you want to save the driver.

Options:
- `-v` or `--version`,  the version would be downloaded.
- `-f` or `--force`, force downloading if the similar driver exists

## System Platform
Driverloader would download the given version according to your OS,
windows, mac, linux are all OK.


## Mirror URL
webdriver-downloader get the drivers from https://npm.taobao.org/mirrors/
- chrome driver: https://npm.taobao.org/mirrors/chromedriver/
- firefox driver: https://npm.taobao.org/mirrors/geckodriver/
csv-reconcile-levenshtein 0.1.6
Levenshtein distance scoring plugin for csv-reconcile
License: MIT
Requires Python: >=3.7,<4.0
Keywords: OpenRefine,reconcile,fuzzy search,Levenshtein

-   [CSV Reconcile Levenshtein distance scoring
    plugin](#csv-reconcile-levenshtein-distance-scoring-plugin)

# CSV Reconcile Levenshtein distance scoring plugin

A scoring plugin for
[csv-reconcile](https://github.com/gitonthescene/csv-reconcile) using
[Levenshtein
distance](https://en.wikipedia.org/wiki/Levenshtein_distance). See
csv-reconcile for details.
csv-reconcile-geo 0.1.7
Geo distance scoring plugin for csv-reconcile
License: MIT
Requires Python: >=3.7,<4.0
Keywords: OpenRefine,reconcile,fuzzy search,gis,geooding,geocode

-   [CSV Reconcile Geo distance scoring
    plugin](#csv-reconcile-geo-distance-scoring-plugin)
    -   [Reconciliation](#reconciliation)
    -   [Scoring](#scoring)
    -   [Configuration](#configuration)
    -   [Future enhancements](#future-enhancements)

# CSV Reconcile Geo distance scoring plugin

A scoring plugin for
[csv-reconcile](https://github.com/gitonthescene/csv-reconcile) using
geodesic distance. See csv-reconcile for details.

## Reconciliation

This plugin is used to reconcile values representing points on the
globe. It expects those values to be in [well-known
text](https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry)
format for a point. That is, like so: `POINT( longitude latitude )`.

The pre-processor automatically strips off [literal
datatypes](https://www.w3.org/TR/sparql11-query/#matchingRDFLiterals)
when present as well as double quotes.

The CSV column to be reconciled needs to be in the same format. In
addition, there must be at most one instance of any id column. For
instance, if reconciling against [coordinate
location](https://www.wikidata.org/wiki/Property:P625) for a [wikidata
item](https://www.wikidata.org/wiki/Help:Items), there must be at most
one location per item.

## Scoring

The scoring used is more or less arbitrary but has the following
properties:

-   The highest score is 100 and occurs when the distance to the
    reconciliation candidate is zero
-   The lower the score the greater the distance to the reconciliation
    candidate
-   The score is scaled so that a distance of 10km yields a score of 50

## Configuration

The plugin can be controlled via `SCOREOPTIONS` in the csv-reconcile
`--config` file. `SCOREOPTIONS` is a [Python
dictionary](https://www.w3schools.com/python/python_dictionaries.asp)
and thus has the following form `SCOREOPTIONS={
   "key1":"value1,"key2":"value2"}`.

-   `SCALE` set distance in kilometers at which a score of 50 occurs. (
    Default 10km ) e.g. `"SCALE":2`
-   `COORDRANGE` If supplied do a precheck that both the latitude and
    the longitude of the compared values are within range. This is for
    performance to avoid the more expensive distance calculation for
    points farther apart. e.g. `"COORDRANGE":"1"`

## Future enhancements

Some of the current implementation was driven by the current design of
csv-reconcile. Both may be updated to accommodate the following:

-   Allow for separate latitude and longitude column in the CSV file
-   Add some scoring options such as the following:
    -   Allow for overriding the scaling function
    -   etc.