Skip to main content

No project description provided

Project description

Foobar

validateFieldData is a Python library for file cleaner.

Installation

Use the package manager pip to install validateData.

pip install validateFieldData

Usage

import validateFieldData as mp


# text = '   Hola   '
mp.validateField(text)
# returns 'Hola'

# username =  ' Dark Sider12 '
mp.validateField(username, capitalize = 'lowercase', spaces =True)
# returns 'darksider12'

# username =  ' Dark Sider12 '
mp.validateField(username, capitalize = 'lowercase')
# returns 'dark sider12'

# username =  ' Dark Sider12 '
mp.validateField(username, spaces =True)
# returns 'DarkSider12'

# first_name =  ' Dark Sider12 '
mp.validateField(first_name,capitalize = 'uppercase')
# returns 'DARK SIDER12'

# work_email = 'nologin@gmail'
mp.validateField(work_email, email = True)
# returns 'EL correo no es valido '

# comments = '   Este texto tiene menos de 300 caracteres    '
mp.validateField(comments,length =300)
# returns 'Este texto tiene menos de 300 caracteres'

# My_Document = '1064 578923'
mp.validateField(My_Document, document = True)
# returns '1064578923'

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Project details


Download files

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

Source Distribution

validateFieldData-0.3.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

validateFieldData-0.3-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file validateFieldData-0.3.tar.gz.

File metadata

  • Download URL: validateFieldData-0.3.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.6

File hashes

Hashes for validateFieldData-0.3.tar.gz
Algorithm Hash digest
SHA256 ae5b282401d3d94cc5d1ddaa396db843acdec61e580b2a79712447f98782ea13
MD5 58a29496578eabcbb03f7a85db292cb0
BLAKE2b-256 d815315c6de2fc9fbde8e35e18348a07059f1ddc80ca49483b0ba6be7bf040b9

See more details on using hashes here.

File details

Details for the file validateFieldData-0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for validateFieldData-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a15b5bb8828a0d822b74532575ef70667517721d7e3bac8daf19f4d270b8d6b7
MD5 938c849c4ab97c7eba45ac6c991cd2ed
BLAKE2b-256 53afe4b07984ded2ce286eacf33a87a5fa3a0c15ce4acc562b0a59835ee472bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page