semvec/pypi-packages huggingface dataset:
vgrep 0.1.4
Vector-based grep tool
Requires Python: >=3.8

#+title: Vector-Grep
Sync your DB to a vector DB and perform queries.

* Installation
Install the published package with [[https://pip.pypa.io/en/stable/][pip]]:
#+begin_src shell
pip install vgrep
#+end_src

To build and install locally:
#+begin_src shell
python -m build
pip install dist/vgrep-*.whl
#+end_src

* Publishing
Releases are published to [[https://pypi.org/][PyPI]] automatically via GitHub Actions when a
GitHub release is created. Configure the repository with a
``PYPI_API_TOKEN`` secret and the workflow will build and upload the
distribution for you.

* Usage
** Command line
Sync the database with tracked folders or search for text:
#+begin_src shell
vgrep /path/to/dir --sync --match '*.org'
vgrep /path/to/dir --query "search text" --match "*.org"
#+end_src

** Library
Interact with the index programmatically using the ``Manager``:
#+begin_src python
from pathlib import Path
from vgrep.manager import Manager

mgr = Manager(Path("/my/notes"), file_match=lambda p: p.suffix == ".org")
mgr.sync()
results = mgr.query("needle")
#+end_src

* Development
Install the dependencies

#+begin_src shell
pip install -r requirements.txt
#+end_src

Run the tests with:

#+begin_src shell
pytest
#+end_src

Install the package in editable mode so Emacs/Elpy can discover the modules:

#+begin_src shell
pip install -e .
#+end_src
django-email-log 1.5.0
Django email backend that logs all emails

================
django-email-log
================

.. image:: https://img.shields.io/pypi/v/django-email-log.svg
   :target: https://pypi.org/project/django-email-log/
   :alt: PyPI
.. image:: https://img.shields.io/pypi/pyversions/django-email-log
   :target: https://pypi.org/project/django-email-log
   :alt: Python Version
.. image:: https://img.shields.io/pypi/djversions/django-email-log
   :target: https://pypi.org/project/django-email-log
   :alt: Django Version
.. image:: https://img.shields.io/readthedocs/django-email-log/latest.svg?label=Read%20the%20Docs
   :target: https://django-email-log.readthedocs.io/
   :alt: Read the documentation at https://django-email-log.readthedocs.io/
.. image:: https://github.com/treyhunner/django-email-log/workflows/Tests/badge.svg
   :target: https://github.com/treyhunner/django-email-log/actions?workflow=Tests
   :alt: Tests
.. image:: https://codecov.io/gh/treyhunner/django-email-log/branch/main/graph/badge.svg
   :target: https://codecov.io/gh/treyhunner/django-email-log
   :alt: Codecov

Django email backend that logs all sent emails to a database using a Django model.

This app works with Django 4.2 to 5.2.

This app requires Python 3.8+.

Getting Help
------------

Documentation for django-email-log is available at https://django-email-log.readthedocs.org/

This app is available on `PyPI`_.

Submit issues on Github: https://github.com/treyhunner/django-email-log/issues

Pull requests are welcome.  Read the CONTRIBUTING file for tips on submitting
a pull request.

.. _PyPI: https://pypi.python.org/pypi/django-email-log/

Building and Publishing Releases
--------------------------------

This project uses a ``Justfile`` to wrap commands and their dependencies.

- ``just test`` - Run tests with ``tox`` and generate coverage report
- ``just build`` (or ``just dist``) - Build source distribution (sdist) and wheel packages in ``dist/``
- ``just test-release`` - Publish packages in ``dist/`` to test.pypi.org
- ``just release`` - Publish packages to PyPI

You can check out all of the Just recipes with ``just --list``.

Related Projects
----------------

Thanks to the following related projects for inspiration:

- `django-mailer`_
- `django-post_office`_
- `django-celery-email`_
- Email logger mentioned in this `StackOverflow answer`_

.. _django-mailer: https://github.com/pinax/django-mailer
.. _django-celery-email: https://github.com/pmclanahan/django-celery-email
.. _django-post_office: https://github.com/ui/django-post_office
.. _stackoverflow answer: http://stackoverflow.com/a/7553759/98187