Mutable BeautifulSoup database type
Project description
SQLAlchemy-MutableSoup
SQLAlchemy-MutableSoup defines a mutable BeautifulSoup SQLAlchemy database type.
Example
After setup, we can manipulate a MutableSoupType
database column as if it were a BeautifulSoup
object.
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.
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.
This project is licensed under the MIT License LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sqlalchemy-mutablesoup-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b09ad89c537c34c577a3ef23f9d96c55ac57cf0775102908651a530a959c0acf |
|
MD5 | 08b621c28978d89eb9c219dd7d3b9626 |
|
BLAKE2b-256 | 68eccf6c6071bcd2d949ecae84947e9126a0185fa5f65434bc32deaabf0ac043 |
Close
Hashes for sqlalchemy_mutablesoup-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55a159e390a1f966d55927a0b609ecd6403cafd5662beab98752004b8c903c26 |
|
MD5 | 8d9b8c9d91a1417c9aaa63ad260e41f8 |
|
BLAKE2b-256 | 3da0e6d19c76cdcaf07cf74eaced6da158db0bc3525c0b0c339aff5562b971ad |