semvec/pypi-packages huggingface dataset:
linkml-tutorial-2024 0.0.2
A repostitory that walks through schema generation.
License: MIT
Requires Python: <4.0,>=3.9

# linkml-tutorial-2024

A repostitory that walks through schema generation.

## Website

[https://linkml.github.io/linkml-tutorial-2024](https://linkml.github.io/linkml-tutorial-2024)

## Repository Structure

* [examples/](examples/) - example data
* [project/](project/) - project files (do not edit these)
* [src/](src/) - source files (edit these)
  * [linkml_tutorial_2024](src/linkml_tutorial_2024)
    * [schema](src/linkml_tutorial_2024/schema) -- LinkML schema
      (edit this)
    * [datamodel](src/linkml_tutorial_2024/datamodel) -- generated
      Python datamodel
* [tests/](tests/) - Python tests

## Developer Documentation

<details>
Use the `make` command to generate project artefacts:

* `make all`: make everything
* `make deploy`: deploys site
</details>

## Credits

This project was made with
[linkml-project-cookiecutter](https://github.com/linkml/linkml-project-cookiecutter).
quotequail 0.4.0
A library that identifies quoted text in plain text and HTML email messages.
License: MIT

==========
quotequail
==========

A library that identifies quoted text in plain text and HTML email messages.
quotequail has no mandatory dependencies, however using HTML methods require
libxml.


(Interested in working on projects like this? `Close.io`_ is looking for `great engineers`_ to join our team)

.. _Close.io: http://close.io
.. _great engineers: http://jobs.close.io


Introduction
------------

quotequail comes with the functions listed below which are documented in detail
in quotequail's ``__init__.py``.

* ``quote(text)``: Takes a plain text message as an argument, returns a list of
  tuples. The first argument of the tuple denotes whether the text should be
  expanded by default. The second argument is the unmodified corresponding
  text.
* ``quote_html(html)``: Like ``quote()``, but takes an HTML message as an
  argument.
* ``unwrap(text)``: If the passed text is the text body of a forwarded message,
  a reply, or contains quoted text, a dictionary is returned, containing the
  type (reply/forward/quote), the text at the top/bottom of the wrapped
  message, any parsed headers, and the text of the wrapped message.
* ``unwrap_html(text)``: Like ``unwrap()``, but takes an HTML message as an
  argument.


Examples
--------

.. code:: python

  In [1]: import quotequail

  In [2]: quotequail.quote("""Hello world.

  On 2012-10-16 at 17:02 , Someone <someone@example.com> wrote:

  > Some quoted text
  """)
  Out[2]:
  [(True, 'Hello world.\n\nOn 2012-10-16 at 17:02 , Someone <someone@example.com> wrote:'),
   (False, '\n> Some quoted text\n')]

  In [3]: quotequail.unwrap("""Hello

  Begin forwarded message:

  > From: "Some One" <some.one@example.com>
  > Date: 1. August 2011 23:28:15 GMT-07:00
  > To: "Other Person" <other@example.com>
  > Subject: AW: AW: Some subject
  >
  > Original text

  Text bottom
  """))
  Out[3]:
  {'date': '1. August 2011 23:28:15 GMT-07:00',
   'from': '"Some One" <some.one@example.com>',
   'subject': 'AW: AW: Some subject',
   'text': 'Original text',
   'text_bottom': 'Text bottom',
   'text_top': 'Hello',
   'to': '"Other Person" <other@example.com>',
   'type': 'forward'}