Skip to main content

A (simple) package for filtering text based on an input

Project description

This package is a program that filters text based on an input.

A class named TextFilter has a function, self.findclosest(place).

place should be the string "first" or "any". Then, if place is first, TextFilter will check every item in the "this" list (when initialised) and if the input matches, then it will be part of what is returned.

"any" is an idiom for "return this item if TextFilter can find an instance of the substring 'input' inside the item of the list".

That's all! My Scratch Profile is rizwan4j.

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

strfilter-2.0.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

strfilter-2.0.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file strfilter-2.0.0.tar.gz.

File metadata

  • Download URL: strfilter-2.0.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for strfilter-2.0.0.tar.gz
Algorithm Hash digest
SHA256 2e45dd744b2b785cfb2ca963c608f8eba3744ede024999ae1c84f1ff5f1f4988
MD5 655ab16433c62024dd28db2b05ad7b59
BLAKE2b-256 d0aca33065fd7fa12751fbce0685888ac8f492c40ca21bbc396257cbf22d68d7

See more details on using hashes here.

File details

Details for the file strfilter-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: strfilter-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for strfilter-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6fafbc100a2821090ba8d44c075f1ebe2663866c2df6bb8de872efb4ee494ff9
MD5 76289fd14b42e3ce7106555237680b69
BLAKE2b-256 ee9f637e828bbb9a1632264f76b2cb67d73f3397e8ac89f32c36cbb901ca7a5a

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