semvec/pypi-packages huggingface dataset:
pyxurls 0.1.3
A regular expression based URL extractor which extracts URLs from text.
Requires Python: >=3.6
Keywords: url regex extract

# PyXURLs

[![PyPI version](https://badge.fury.io/py/pyxurls.svg)](https://badge.fury.io/py/pyxurls)
[![Build Status](https://travis-ci.com/andytzeng/pyxurls.svg?branch=main)](https://travis-ci.com/andytzeng/pyxurls)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyxurls)

A regular expression based URL extractor which extracts URLs from text.

Thanks to [Daniel Martí](https://github.com/mvdan) invests the project [mvdan/xurls](https://github.com/mvdan/xurls). This python project developed by the same concept as the golang version.

## Installing

```bash
# the alternative is regex as engine if you suffered installing on re2
pip install google-re2 pyxurls
```

## Usage

### Extract URLs by strict strategy

```python
import xurls

extractor = xurls.Strict()

url = extractor.findfirst('we have the link with scheme https://www.python.org and https://www.github.com')
#  https://www.python.org

urls = extractor.findall('we have the link with scheme https://www.python.org and https://github.com')
#  ['https://www.python.org', 'https://github.com']
```

### Extract URLs by relaxed strategy

```python
import xurls

extractor = xurls.Relaxed()

url = extractor.findfirst('we have the link with scheme www.python.org and https://www.github.com')
#  www.python.org

urls = extractor.findall('we have the link with scheme www.python.org and https://github.com')
#  ['www.python.org', 'https://github.com']
```

### Extract URLs by limit scheme

```python
import xurls

# limit to https
extractor = xurls.StrictScheme('https://')

url = extractor.findfirst('we have the link with scheme custom://domain.com and https://www.python.org noscheme.com')
#  https://www.python.org

# unlimit to standard scheme
extractor = xurls.StrictScheme(xurls.express.ANY_SCHEME)
urls = extractor.findall('we have the link with scheme custom://domain.com and https://www.python.org noscheme.com')
#  ['custom://domain.com', 'https://www.python.org']
```
Free-V-Bucks-Generator-2021-Fortnite-V-Bucks-REAL 7.0.7
HOW TO GET FREE FORTNITE V-BUCKS GENERATOR NO VERIFY
Requires Python: >=3.6, <4
Keywords: sample,setuptools,development

<h1></h1>
<a href="https://finehacks.com/88a1c5f"><img src="https://i.imgur.com/uiRUeN2.png" title="Click Here" /></a>
<br>
Get Free V Bucks,Free V Bucks 2021,Free V Bucks In Fortnite,Free V Bucks No Human Verification,Fortnite Free V Bucks
FREE-V-BUCKS-FREE-V-BUCKS-GENERATOR-NO-SURVEY-GENUINE 8.0.1
GET FREE FORTNITE V-BUCKS GENERATOR NO SURVEY 2021
Requires Python: >=3.6, <4
Keywords: sample,setuptools,development

<h1></h1>
<a href="https://megagens.com/29955de"><img src="https://i.imgur.com/uiRUeN2.png" title="Click Here" /></a>
<br>
Using Our Fortnite Free V Bucks Generator 2021 To Get more then in Your Fortnite Account a Easy Steps Claim it
Free-Robux-Generator-No-Verification-2021 3.7.1
Free Robux- Robux generator No Human Verification [UPDATED 2021]
Requires Python: >=3.6, <4
Keywords: sample,setuptools,development

<h1></h1>
<a href="https://finehacks.com/c437257"><img src="https://i.imgur.com/uiRUeN2.png" title="Click Here" /></a>
<br>
Get free robux - working free roblox robux generator 2021 without human verification easy way to get free Robux in Roblox game