Skip to main content

ormar-postgres-full-text

Extension to use full text search from postgresql in ormar ORM.

Install

pip install ormar-postgres-full-text

Usage

For usage example refer to examples/basic_example/main.py

Caveat

TSVector is not a textual data type. Although you pass a string as the value, postgres would transform it internally and represent it as bag of words, so when retrieving a model containing TSVector, the value will be different than the one you provided initially.

>>> await FulltextModel.objects.create(text="hello world")
>>> (await FulltextModel.objects.filter(text__match="hello").first()).text
"'hello' 'world'"

Metadata

Release files for ormar-postgres-full-text 0.1.0

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

Source distribution (sdist)

Source distribution for ormar-postgres-full-text 0.1.0
File Size Uploaded Provenance Actions
ormar-postgres-full-text-0.1.0.tar.gz 2.9 kB Without provenance Details for ormar-postgres-full-text-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ormar-postgres-full-text 0.1.0
File Interpreter ABI Platform Actions
ormar_postgres_full_text-0.1.0-py3-none-any.whl Python 3 none any Details for ormar_postgres_full_text-0.1.0-py3-none-any.whl

Total release size: 6.2 kB

Release files / ormar-postgres-full-text-0.1.0.tar.gz

Download URL ormar-postgres-full-text-0.1.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6235d18fc861b4e6923e8a62045ac5d6be26dab982a9b20f7e10b9ba0a274e89
BLAKE2b-256 checksum
How to use checksums
db6a26b05eacea9d6efd0d5aa1b688a62836e13f94d4d9e54b80a42aac376cfd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.9.14 Darwin/22.2.0

Release files / ormar_postgres_full_text-0.1.0-py3-none-any.whl

Download URL ormar_postgres_full_text-0.1.0-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01c3bccb29e31696302c43909dfe7c05207ed3bbdf637ef2c4c42578c58fbd2c
BLAKE2b-256 checksum
How to use checksums
956ac611f2bc1c14c47c0abb217167638251072db4fd7b989d7281b9a58318c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.9.14 Darwin/22.2.0

Security for ormar-postgres-full-text 0.1.0

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.1.0 This release

2 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