Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python.announce > #4431
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Broytman Oleg <phd@phdru.name> |
| Newsgroups | comp.lang.python.announce |
| Subject | [Python-announce] SQLObject 3.14.0 |
| Date | Fri, 16 Oct 2026 19:58:16 +0300 |
| Lines | 125 |
| Approved | python-announce-list@python.org |
| Message-ID | <atJXqKCq67PcoP_6@phdru.name> (permalink) |
| Reply-To | python-list@python.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| X-Trace | news.uni-berlin.de 0tJ5zT//fQYZxIUp8rdL7wuyfVELA7VCYjRm9OkQOwVA== |
| Cancel-Lock | sha1:jC1Aefp3OwgyR96hLpISgDMgBYM= sha256:GxhesaRVGlbG/EOq8hidv09yE2eLb8jOw7z6e/fsz+k= |
| Delivered-To | python-announce-list@x.python.org |
| Authentication-Results | mail.python.org; dkim=none reason="no signature"; dkim-adsp=unknown (unprotected policy); dkim-atps=neutral |
| X-Spam-Status | OK 0.084 |
| X-Spam-Evidence | '*H*': 0.84; '*S*': 0.00; 'pip': 0.04; 'skip:= 10': 0.05; 'url:mailman': 0.09; '2.7': 0.09; 'instances': 0.09; 'meant': 0.09; 'neil': 0.09; 'open-source': 0.09; 'skip:` 10': 0.09; 'skip:` 20': 0.09; 'to:addr:python-announce-list': 0.09; 'import': 0.15; 'announce': 0.15; '=======': 0.16; 'changes:': 0.16; 'classes,': 0.16; 'encoding': 0.16; 'mssql': 0.16; 'ok.': 0.16; 'url:project': 0.16; 'url:pypi': 0.16; 'python': 0.16; 'developer': 0.16; 'api': 0.17; 'pull': 0.17; 'to:addr:python- list': 0.20; "what's": 0.22; 'version': 0.23; 'install': 0.23; 'skip:p 30': 0.23; 'list,': 0.24; 'skip:- 10': 0.25; 'mailing': 0.31; 'programmers': 0.32; 'requiring': 0.32; "i'm": 0.32; 'but': 0.32; 'release': 0.34; 'fix': 0.36; "it's": 0.36; '>>>': 0.36; 'those': 0.36; '...': 0.37; 'url-ip:151.101.0.223/32': 0.37; 'url- ip:151.101.128.223/32': 0.37; 'url-ip:151.101.192.223/32': 0.37; 'url-ip:151.101.64.223/32': 0.37; 'class': 0.37; 'example': 0.37; 'url-ip:188/8': 0.38; 'thanks': 0.39; 'use': 0.39; 'changes': 0.39; 'branch': 0.39; 'hello!': 0.39; '(with': 0.39; 'list': 0.40; 'skip:o 10': 0.61; 'true': 0.63; 'complete': 0.64; 'less': 0.64; 'your': 0.64; 'url:name': 0.64; 'news': 0.65; 'url:net': 0.66; 'pleased': 0.67; '-----': 0.69; 'site:': 0.69; 'url:news': 0.69; 'free': 0.71; 'easy': 0.74; 'features': 0.75; 'quick': 0.77; 'database': 0.80; 'known': 0.84; 'drivers': 0.84; 'minor': 0.84; 'news:': 0.84; 'postgresql': 0.84; 'sqlite': 0.84; 'tables': 0.84; 'url-ip:104.18.12.149/32': 0.84; 'url-ip:104.18.12/24': 0.84; 'url-ip:104.18.13.149/32': 0.84; 'url-ip:104.18.13/24': 0.84; 'url:sourceforge': 0.84; 'url:p': 0.88; 'return.': 0.91; 'received:89': 0.93 |
| Content-Disposition | inline |
| X-Attribution | phd |
| X-Face | "4chVP^f8;3Bi>x"ic0%DuP(ZLyn:;kzQ1njs]5,GRZG<{<\~`|Shxi7|)d|8uO~HFRfyym {[xs@OYG]2Q]0#}0sjJp`1^1+B6]A2+{9fW=S<O7^"hul]^|AGtiI7SkYF-2VD?UH*h_!zuCIf+^F7 c0x8?W,UfhCAx^YY#1ALhvG\2yG}LW:)zw#1;Yajq"hK~S |
| X-Operating-System | Debian GNU/Linux |
| X-Url | https://phdru.name/ |
| Mail-Followup-To | Broytman Oleg <phd@phdru.name>, Python Mailing List <python-list@python.org> |
| X-Skip-DKIM-Sig | mailing list |
| X-MailFrom | phd@phdru.name |
| X-Mailman-Rule-Hits | emergency |
| X-Mailman-Rule-Misses | dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-python-announce-list.python.org-0; header-match-python-announce-list.python.org-1; header-match-python-announce-list.python.org-2; header-match-python-announce-list.python.org-3; header-match-python-announce-list.python.org-4 |
| Message-ID-Hash | RB4LS6ZBA33BSIE22LITVYSKF36BYAES |
| X-Message-ID-Hash | RB4LS6ZBA33BSIE22LITVYSKF36BYAES |
| X-Mailman-Approved-At | Fri, 16 Oct 2026 13:47:57 -0400 |
| X-Mailman-Version | 3.3.11b1 |
| Precedence | list |
| List-Id | Announcement-only list for the Python programming language <python-announce-list.python.org> |
| Archived-At | <https://mail.python.org/archives/list/python-announce-list@python.org/message/RB4LS6ZBA33BSIE22LITVYSKF36BYAES/> |
| List-Archive | <https://mail.python.org/archives/list/python-announce-list@python.org/> |
| List-Help | <mailto:python-announce-list-request@python.org?subject=help> |
| List-Owner | <mailto:python-announce-list-owner@python.org> |
| List-Post | <mailto:python-announce-list@python.org> |
| List-Subscribe | <mailto:python-announce-list-join@python.org> |
| List-Unsubscribe | <mailto:python-announce-list-leave@python.org> |
| Xref | csiph.com comp.lang.python.announce:4431 |
Show key headers only | View raw
Hello!
I'm pleased to announce version 3.14.0, the first release of the
branch 3.14 of SQLObject.
What's new in SQLObject
=======================
The contributor for this release is Neil Muller.
Many thanks for the pull requests!
Minor features
--------------
* Tweak ``load_module_from_file`` to work on Python 3.15.
Build
-----
* Fix ``egg-info`` name in ``.gitignore``: it's now completely lowercase.
* Tested with Python 3.15. Not all drivers work but most are ok.
Drivers
-------
* Add ``pymysql`` to the list requiring encoding before submission,
to work around the changes in ``pymysql`` 1.2.1.
For a more complete list, please see the news:
http://sqlobject.org/News.html
What is SQLObject
=================
SQLObject is a free and open-source (LGPL) Python object-relational
mapper. Your database tables are described as classes, and rows are
instances of those classes. SQLObject is meant to be easy to use and
quick to get started with.
SQLObject supports a number of backends: MySQL/MariaDB (with a number of
DB API drivers: ``MySQLdb``, ``mysqlclient``, ``mysql-connector``,
``PyMySQL``, ``mariadb``), PostgreSQL (``psycopg``, ``psycopg2``, ``PyGreSQL``,
partially ``pg8000``), SQLite (builtin ``sqlite3``);
connections to other backends - Firebird, Sybase, MSSQL and MaxDB (also
known as SAPDB) - are less debugged).
Python 2.7 or 3.4+ is required.
Where is SQLObject
==================
Site:
http://sqlobject.org
Download:
https://pypi.org/project/SQLObject/3.14.0/
News and changes:
http://sqlobject.org/News.html
StackOverflow:
https://stackoverflow.com/questions/tagged/sqlobject
Mailing lists:
https://sourceforge.net/p/sqlobject/mailman/
Development:
http://sqlobject.org/devel/
Developer Guide:
http://sqlobject.org/DeveloperGuide.html
Example
=======
Install::
$ pip install sqlobject
Create a simple class that wraps a table::
>>> from sqlobject import *
>>>
>>> sqlhub.processConnection = connectionForURI('sqlite:/:memory:')
>>>
>>> class Person(SQLObject):
... fname = StringCol()
... mi = StringCol(length=1, default=None)
... lname = StringCol()
...
>>> Person.createTable()
Use the object::
>>> p = Person(fname="John", lname="Doe")
>>> p
<Person 1 fname='John' mi=None lname='Doe'>
>>> p.fname
'John'
>>> p.mi = 'Q'
>>> p2 = Person.get(1)
>>> p2
<Person 1 fname='John' mi='Q' lname='Doe'>
>>> p is p2
True
Queries::
>>> p3 = Person.selectBy(lname="Doe")[0]
>>> p3
<Person 1 fname='John' mi='Q' lname='Doe'>
>>> pc = Person.select(Person.q.lname=="Doe").count()
>>> pc
1
Oleg.
--
Oleg Broytman https://phdru.name/ phd@phdru.name
Programmers don't die, they just GOSUB without RETURN.
Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread
[Python-announce] SQLObject 3.14.0 Broytman Oleg <phd@phdru.name> - 2026-10-16 19:58 +0300
csiph-web