semvec/pypi-packages huggingface dataset:
oc-operations-DontDoDrugs 0.0.1
Operation with occurrences and more
Requires Python: >=3.7

This is a package for operating with occurrences and counting.

Some examples:
ex1:
`
import occurrences

string = "hi from python3!"
search = Occurrences(string,["hi","python3"])

print(search.element_count())


output:

{'hi':1,'python3':1}
` 

ex2:
`
import occurrences

string = "python is good!"
check = Occurrences(string,"good")

print(check.element_check())

output:
True
`