semvec/pypi-packages huggingface dataset:
kamoe 0.1.8
Kolmogorov-Arnold Mixtures of Experts
Requires Python: <3.12,>=3.9

# Kolmogorov-Arnold Mixture of Experts

Shield: [![CC BY-NC-SA 4.0][cc-by-nc-sa-shield]][cc-by-nc-sa]

This work is licensed under a
[Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License][cc-by-nc-sa].

[![CC BY-NC-SA 4.0][cc-by-nc-sa-image]][cc-by-nc-sa]

[cc-by-nc-sa]: http://creativecommons.org/licenses/by-nc-sa/4.0/
[cc-by-nc-sa-image]: https://licensebuttons.net/l/by-nc-sa/4.0/88x31.png
[cc-by-nc-sa-shield]: https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg
jemail 0.1a6
Django app to store emails in db
Requires Python: >=3.9
Keywords: django, email

# Jemail

Django app to store emails in db


## Installation

```sh
pip install jemail
pip install django-anymail[sendgrid]
```

Anymail used as email backend, for now jemail tested only with `sendgrid` backend.

Update settings with:

```python
EMAIL_BACKEND = "anymail.backends.sendgrid.EmailBackend"

# defaults
JEMAIL = {
    "METADATA_ID_KEY": "message_id",  # tag name for EmailMessage.pk in message metadata
    "HTML_MESSAGE_UPLOAD_TO": "emails/messages/",  # path to save html messages to
    "ATTACHMENT_UPLOAD_TO": "emails/attachments/",  # path to save attachments to
    # "IMPORT_HTML_MESSAGE_UPLOAD_TO": "myproject.utils.message_upload_to",  # callable option
    # "IMPORT_ATTACHMENT_UPLOAD_TO": "myproject.utils.attachment_upload_to",  # callable option
}
```

## Usage

```python
from jemail import EmailMessage, EmailAttachment

# save email in db
EmailMessage.objects.create_with_objects(
    to=["user@example.com"],
    subject="Subject",
    # if body not provided it derived from html_message
    # using html2text library
    body="Hi User,...",
    html_message="<p>Hi User...",
    # the rest is optional
    from_email="no-reply@example.com",
    cc=["cc@example.com"],
    bcc=["bcc@example.com"],
    attachments=[
        EmailAttachment.objects.create(
            filename="doc.pdf",
            mimetype="application/pdf",
            file=ContentFile(b"...", name="doc.pdf"),
        )
    ],
    reply_to=["Example Team <support@example.com>"],
    created_by_id=user.pk,
)

# build EmailMultiAlternatives from db
msg = EmailMessage.objects.get(pk=pk).build_message()
# send email
msg.send()
```

## Development

nix-direnv:

```sh
echo "use flake" >> .envrc
direnv allow
app.install
pytest
```

nix:

```sh
nix develop
app.install
pytest
```

uv:

```sh
uv -q venv .venv
source .venv/bin/activate
uv pip install -e .[dev,test]
pre-commit install
pytest
```
wattpad-api 1.0.1
A no-compromises wrapper for the Wattpad API
Keywords: Wattpad, Wattpad Wrapper, Watppad API, API, Wrapper


# Wattpad API



This is a no-compromise Wattpad API wrapper for python.

This project is still in development, and is not yet ready for production use.

It also speeds up the process by using disk caching, It will cache the response from the API and will only make a new request if the request is not cached.



This, of course can be disabled by setting the cache to False.



## Features



- Simple and easy to use

- Caches responses from the API to disk for faster response times

- Allows direct access to the API via the `fetch` method

- Allows exporting of the objects to DICT, JSON, or YAML



## Installation



```bash

pip install wattpad-api

```



## Usage



```python

from wattpad import Wattpad, Story



engine = Wattpad()

wounded_love = Story.from_id(336166598, engine)



print(wounded_love.title)

print(wounded_love.author)

```



## TODO



- [x] Implement the export methods

- [x] Implement the cache

- [x] Implement the fetch method

- [ ] Implement the search method

- [ ] Wrap the ENTIRE API



## Contributing



Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.



Please make sure to update tests as appropriate.



## License



[MIT](https://choosealicense.com/licenses/mit/)