validate brackets in a string
Project description
#Validate brackets This package allows to validate correct opening and closing of brackets in a string.
Installation
Run the following to install:
$pip install validate_brackets
Usage
from ValidateBrackets import validate_brackets
# Validate a string with brackets, returns True
validate_brackets('[]{()}')
# Validate a string with brackets, returns False
validate_brackets('[]{(}'
Developing validate_brackets
To install validate_brackets, along with the tool you need to develp and run tests, run the following in your virtualenv
$pip install -e .[dev]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file validate_brackets-0.0.2.tar.gz.
File metadata
- Download URL: validate_brackets-0.0.2.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80543e09b87775c83f20ce438dc37101d4d7c2548720650255feb9a839493bed
|
|
| MD5 |
dda4d1bc6cc43ce652af38945540d02d
|
|
| BLAKE2b-256 |
ef4f95e17f51eeeb75aafe6b9369628eef1c905e5c7ba8116bedca35bc8aa379
|
File details
Details for the file validate_brackets-0.0.2-py3-none-any.whl.
File metadata
- Download URL: validate_brackets-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c3722d481e5a533d0a0a9f38bcee79268bdf0eda7c42313bb2313422396540a
|
|
| MD5 |
d5df653cb68fea8c69647137ce3bfd39
|
|
| BLAKE2b-256 |
b9b2a039771f1f479d5f596d8c72b4418989de8174d4b704e7b22e1db639fd57
|