Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

A library to check user input.

Project description


The package "userprovided" checks input for plausibility. For example it can check whether a string is a valid email address or an URL.

There are plenty of validators out there. The reasons to write another one:

  • It's sister-project exoskeleton needs some special features. This would be for example not only to check whether a string is an URL, but to also check whether the scheme is http or https.
  • Extensive testing (unittests and automatic test generation with the hypothesis package)
  • Modularity

Installation and Use

Please take note that the development status of "userprovided" is "beta". This means it may still contain some bugs and some commands could change with one of the next releases.

Install exoskeleton using pip or pip3. For example:

pip install userprovided

You may consider using a virtualenv.


#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import userprovided

### Mailadresses ###

# => False

# => True

### Cloud ###'foobar')
# => True

### URLs ###

# => True

print(userprovided.url.is_url('', ('ftp')))
# => False (Schema does not match permitted)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for userprovided, version 0.5.0
Filename, size File type Python version Upload date Hashes
Filename, size userprovided-0.5.0-py3-none-any.whl (8.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size userprovided-0.5.0.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page