Metadata-Version: 2.1
Name: sqlalchemy-mutablesoup
Version: 0.0.4
Summary: Mutable BeautifulSoup database type
Home-page: https://github.com/dsbowen/sqlalchemy-mutablesoup
Author: Dillon Bowen
Author-email: dsbowen@example.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: bs4 (==4.8.2)
Requires-Dist: flask (==1.1.1)
Requires-Dist: sqlalchemy (==1.3.12)

# SQLAlchemy-MutableSoup

SQLAlchemy-MutableSoup defines a mutable [BeautifulSoup](https://www.crummy.com/software/BeautifulSoup/bs4/doc/) [SQLAlchemy](https://www.sqlalchemy.org/) database type.

## Example

After setup, we can manipulate a `MutableSoupType` database column as if it were a `BeautifulSoup` object.

```python
model.soup = '<p>Hello World.</p>'
print(model.soup)
print(
    '`soup` is a BeautifulSoup object?', 
    isinstance(model.soup, BeautifulSoup)
)
```

Output:

```
<p>Hello World.</p>
`soup` is a BeautifulSoup object? True
```

## Documentation

You can find the latest documentation at [https://dsbowen.github.io/sqlalchemy-mutablesoup](https://dsbowen.github.io/sqlalchemy-mutablesoup).

## License

Publications which use this software should include the following citation:

Bowen, D.S. (2020). SQLAlchemy-MutableSoup \[Computer software\]. [https://dsbowen.github.io/sqlalchemy-mutablesoup](https://dsbowen.github.io/sqlalchemy-mutablesoup).

This project is licensed under the MIT License [LICENSE](https://github.com/dsbowen/sqlalchemy-mutablesoup/blob/master/LICENSE).

