Skip to main content

No project description provided

Project description

ValidateFieldData

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.4.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.4-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: validateFieldData-0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 1ee2fd4a6d81b88ae7c8918686bb6beec9914be9238ce9ae002df5f4651140cf
MD5 778d0a2c8f3aed09882791d76e9b5b37
BLAKE2b-256 ca7989ef66b54118a9d945d9b2f9ec39e635f91c7c13635fc586999af6985401

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for validateFieldData-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5e7f6a5ce5df1ca5a9fe929a2c57767a5199c3a092da6786c62f99e78edd9867
MD5 ab76c5cf15e2af7fffc43b1ab5a9c394
BLAKE2b-256 ca3f4acfb92d7557b26d7d93db74a670f5bfd64ff5614475ad0c0b6b35b39330

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