semvec/pypi-packages huggingface dataset:
find-domains 0.0.6
Library to search domain names in text data
License: MIT
Keywords: domain search hostname dns parser

## find_domains Documentation

This library is for searching domain names in raw text data. First it searches domain-like strings
using simple regexp. Then it uses list of top level domain names to remove names which could be a
domain name i.e. last segment is not top level domain name. TLD list is provided by
[tldextract](https://github.com/john-kurkowski/tldextract) library, technicall that means that
when you will use `find_domains` in first time it will download top level domains list (this is
tldextract behaviour).

## Installation

`pip install -U find_domains`


## Usage

```
from find_domains import find_domains

data = """
foo bar google.com foo.bar.com domain.info
превед-медвед.рф
"""

for domain in find_domains(data):
    print(domain)
```
sparql-dataframe 0.4
Convert SPARQL results to Pandas dataframes
License: MIT

# sparql-dataframe

Helper to convert [SPARQLWrapper](https://github.com/RDFLib/sparqlwrapper) results to [Pandas](https://pandas.pydata.org/) [dataframes](https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.html).

[![Build Status](https://travis-ci.org/lawlesst/sparql-dataframe.svg?branch=master)](https://travis-ci.org/lawlesst/sparql-dataframe)

See this [blog post](http://lawlesst.github.io/notebook/sparql-dataframe.html) for examples. You might also be interested in these related examples from [Su Labs tutorial](https://github.com/SuLab/sparql_to_pandas/blob/master/SPARQL_pandas.ipynb).

## Install

Directly from [PyPi](https://pypi.org/project/sparql-dataframe/) for Python 3.4+.

```
$ pip install sparql-dataframe
```

From Github. This should support Python 2.7 as well.

```
$ pip install git+https://github.com/lawlesst/sparql-dataframe.git
```

## Usage

```
import sparql_dataframe

endpoint = "http://dbpedia.org/sparql"

q = """
    SELECT ?label ?wikiPageID
    WHERE {
    <http://dbpedia.org/resource/Baseball> rdfs:label ?label ;
         <http://dbpedia.org/ontology/wikiPageID> ?wikiPageID
    }
"""

df = sparql_dataframe.get(endpoint, q)
...
```

By default, the query will be passed to the server as a `GET` request. To pass the query to the server as a `POST` request, use the `post=True` keyword.

```
df = sparql_dataframe.get(endpoint, q, post=True)
```

## Tests

```
$ python -m unittest
```