Skip to main content

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


Download files

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

Source Distribution

validate_brackets-0.0.3.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

validate_brackets-0.0.3-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file validate_brackets-0.0.3.tar.gz.

File metadata

  • Download URL: validate_brackets-0.0.3.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

Hashes for validate_brackets-0.0.3.tar.gz
Algorithm Hash digest
SHA256 726d3215954f79693cf73bd387253a36aa6def14d091a7f3a3dbd8b8865c9bea
MD5 fd54dd7994cc35678c7565293198d2db
BLAKE2b-256 47d11b70bd5666767085a96bd16d84dacd62ab9991df88142e30d44f7544166d

See more details on using hashes here.

File details

Details for the file validate_brackets-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: validate_brackets-0.0.3-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

Hashes for validate_brackets-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2f557a94e8b52c6b2a8baf2c83d6b9485363c50f40c6a8adc9c4f6012b9f9d9c
MD5 5410dc6274a437f9b2b200cbdef23758
BLAKE2b-256 12181373d249ae871f64871b6cfc1205e45a09e816682af5131631bbe2aec1e6

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