Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sqlalchemy-mutablesoup, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size sqlalchemy_mutablesoup-0.0.5-py3-none-any.whl (3.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size sqlalchemy-mutablesoup-0.0.5.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page