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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6eb7fe7d1da354a846cc0947d72d15a1ab330f1f84f39e773469a3611134ea7 |
|
MD5 | 5061037f592a3a6b3563323dc6254779 |
|
BLAKE2b-256 | 75e2bc6e4f336afbca855f165f7b1180f3a84f1a1e91e2d23b086fc5012f42a7 |
Close
Hashes for sqlalchemy_mutablesoup-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 069fd31e0dcc8f75c8e86aae543bc3b6c425a2e55f93c7f6da2626f5733b3af0 |
|
MD5 | 0878edbcc786938d055c51af9a6eddd0 |
|
BLAKE2b-256 | a64a5a9d35f10e463f7c8d11812dc98806595091f89f054e6d943882c7971d25 |