Skip to main content
FastSS is a string similarity searching algorithm. For each query, which

consists of query string s and distance d, it retrieves all the words in a dictionary whose edit distance from s is equal or smaller than d. FastSS is an offline searching algorithm, as it needs to create an index of its dictionary before it can search. For more information on FastSS you can visit the website of its inventors at <http://fastss.csg.uzh.ch/>.

Here are some of the characteristics of this implementation, to help you decide whether it fits your purposes:

  • Very fast searching at the cost of a rather large index size.

  • Indices are plain sqlite databases so they carry ACID guarantees.

  • Only unicode strings are supported.

Example of usage:

>>> import fastss
>>> manager = fastss.FastSSManager('idx')
>>> manager.create_index(False)
# Insert lemmas in the index, using 20% of their length as the depth:
>>> manager.update_index([u'Mike', u'Johnny', u'johnny'], lambda s: int(len(s)*.2))
# Search:
>>> for match in manager.search('Mike', 2): print match
(u'Mike', 0)
>>> for match in manager.search('johnny', 1): print match
(u'johnny', 0)
(u'Johnny', 1)
>>> for match in manager.search('johnny', 1, nocase=True): print match
(u'Johnny', 0)
(u'johnny', 0)
>>> for match in manager.search('johny', 2, nocase=True): print match
(u'johnny', 1)
(u'Johnny', 1)

Metadata

Release files for fastss 0.095

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for fastss 0.095
File Size Uploaded Provenance Actions
fastss-0.095.zip 18.5 kB Without provenance Details for fastss-0.095.zip
fastss-0.095.tar.gz 16.4 kB Without provenance Details for fastss-0.095.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fastss 0.095
File Interpreter ABI Platform Actions
fastss-0.095.win32.exe Details for fastss-0.095.win32.exe

Total release size: 238.1 kB

Release files / fastss-0.095.zip

Download URL fastss-0.095.zip
Size 18.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e3b3f2dee38e488c0761cee44e4a9278d5aa2a683b838fc01e90c41df40c908a
BLAKE2b-256 checksum
How to use checksums
09d365f4bedbfffa423b9d36c69b8dde34006b08364df6ae3372faf974513c25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / fastss-0.095.tar.gz

Download URL fastss-0.095.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4a26aae1b0c789bbfa62e20fd8d4a1ed38b95f2b0b165645800f486ec48cfc99
BLAKE2b-256 checksum
How to use checksums
20b9a0602254d885d3debd1931a91139ecfa013c87deb802340237d4b7c54575
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / fastss-0.095.win32.exe

Download URL fastss-0.095.win32.exe
Size 203.2 kB
Tags Source
SHA-256 checksum
How to use checksums
738531763e5e3c29aa6eadaea417daf905a581c4b743af0847ea3a71ff3cc51a
BLAKE2b-256 checksum
How to use checksums
aaa829d7621d5388442e826cd2b5c31c7edc443302e943511b17a2d9b12ea7ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for fastss 0.095

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.095 This release

3 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page