NestedText is a file format for holding data that is to be entered, edited, or viewed by people. It allows data to be organized into a nested collection of dictionaries, lists, and strings. Similar to YAML, but much simpler. It pairs nicely with voluptuous to create a simple and powerful solution for configuration files.
NestedText is a nice alternative to JSON, YAML, and TOML.
Install: pip install nestedtext
Give it a try.
<P><A HREF="https://nestedtext.org">NestedText 1.0</A>A Human Friendly Data Format. (03-Oct-20)</P>
pytest 6.1.1 has just been released to PyPI.
This is a bug-fix release, being a drop-in replacement. To upgrade::
pip install --upgrade pytest
The full changelog is available at https://docs.pytest.org/en/stable/changelog.html.
Thanks to all of the contributors to this release:
* Ran Benita
The pytest Development Team
I'm pleased to announce version 3.8.1, the first bugfix release of branch
3.8 of SQLObject.
What's new in SQLObject
The contributor for this release is Neil Muller.
* Use conf.py options to exclude sqlmeta options.
* Fix ``PyGreSQL`` version for Python 3.4.
* Run tests with Python 3.8 at AppVeyor.
For a more complete list, please see the news:
What is SQLObject
SQLObject is an 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, PostgreSQL, SQLite,
Firebird, Sybase, MSSQL and MaxDB (also known as SAPDB).
Python 2.7 or 3.4+ is required.
Where is SQLObject
News and changes:
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()
Use the object::
>>> p = Person(fname="John", lname="Doe")
<Person 1 fname='John' mi=None lname='Doe'>
>>> p.mi = 'Q'
>>> p2 = Person.get(1)
<Person 1 fname='John' mi='Q' lname='Doe'>
>>> p is p2
>>> p3 = Person.selectBy(lname="Doe")
<Person 1 fname='John' mi='Q' lname='Doe'>
>>> pc = Person.select(Person.q.lname=="Doe").count()
Oleg Broytman https://phdru.name/ phd(a)phdru.name
Programmers don't die, they just GOSUB without RETURN.
On behalf of the Python Packaging Authority, I am pleased to announce
that we have just released pip 20.2, a new version of pip. You can
install it by running python -m pip install --upgrade pip.
The highlights for this release are:
- The beta of the next-generation dependency resolver is available
- Faster installations from wheel files
- Improved handling of wheels containing non-ASCII file contents
- Faster `pip list` using parallelized network operations
- Installed packages now contain metadata about whether they were
requested by the user (PEP 376’s REQUESTED file)
The new dependency resolver is *off by default* because it is *not yet
ready for everyday use*. The new dependency resolver is significantly
stricter and more consistent when it receives incompatible instructions,
and reduces support for certain kinds of constraints files, so some
workarounds and workflows may break. Please test it with the
`--use-feature=2020-resolver` flag. Please see our guide on how to test
and migrate, and how to report issues
We are preparing to change the default dependency resolution behavior
and make the new resolver the default in pip 20.3 (in October 2020).
This release also partially optimizes pip’s network usage during
installation (as part of a Google Summer of Code project by McSinyx
Please test it with `pip install --use-feature=2020-resolver
--use-feature=fast-deps` and report bugs to the issue tracker
functionality is *still experimental* and *not ready for everyday use*.
You can find more details (including deprecations and removals) in the
As with all pip releases, a significant amount of the work was
contributed by pip’s user community. Huge thanks to all who have
contributed, whether through code, documentation, issue reports and/or
discussion. Your help keeps pip improving, and is hugely appreciated.
Specific thanks go to Mozilla (through its Mozilla Open Source Support
<https://www.mozilla.org/en-US/moss/> Awards) and to the Chan Zuckerberg
Initiative <https://chanzuckerberg.com/eoss/> DAF, an advised fund of
Silicon Valley Community Foundation, for their funding that enabled
substantial work on the new resolver.
pip project manager via contract with PSF