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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for sqlalchemy_mutablesoup-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 885e0b4ea1e7681562b138a545fdda24f24e4d6e4b83b00bc655040affeb3f87 |
|
MD5 | c11235b2c9bf2971eb1e70174526cbed |
|
BLAKE2b-256 | 1a6133c478b2329f634322142eabee32a798c64a08eb4182972018c2d0163ade |