Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

The Head First Python 2e Database Context Manager

Project description

The Head First Python Database Context Manager.

Devised, coded, and built during Chapters 7, 8, and 9 of the 2nd edition of Head First Python (by O’Reilly Media). Used and extended with support for custom exceptions in Chapter 11.

Released into the wild at the suggestion of one of Paul’s ex-students (thanks @csl_).

If you really need to do stuff like this, use SQLAlchemy (and/or Dataset) instead.

Python 3 only (due to type hints and new syntax). Should be easy enough to backport if you need to. Also: from v1.7.x this code takes advantage of raise’s “from” syntax.

Project details


Release history Release notifications

This version
History Node

1.7.1

History Node

1.7.0

History Node

1.6.4

History Node

1.6.3

History Node

1.6.2

History Node

1.6.1

History Node

1.6

History Node

1.5

History Node

1.4

History Node

1.3

History Node

1.2

History Node

1.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
DBcm-1.7.1.tar.gz (2.5 kB) Copy SHA256 hash SHA256 Source None Nov 2, 2016

Supported by

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