378 Commits

Author SHA1 Message Date
Joseph Gardi ea4273695c Merge pull request #232 from jogardi/fix-commit
fix earlier commit
2026-02-08 19:57:09 -08:00
Joseph Gardi 5df61d335f fix earlier commit 2026-02-08 19:46:24 -08:00
Joseph Gardi c925575bbf Merge pull request #231 from jogardi/main
Revert "Merge pull request #221 from Imran-imtiaz48/patch-1"
2026-02-08 19:34:58 -08:00
Joseph Gardi 91019db0bf Revert "Merge pull request #221 from Imran-imtiaz48/patch-1"
This reverts commit 5941ab2798, reversing
changes made to ed1e5ad41f.
2026-02-08 19:34:01 -08:00
Joseph Gardi a2c07855e9 Merge pull request #230 from jogardi/fix/reraise-transaction-exception
Fix transaction context manager to re-raise exceptions after rollback
2026-02-08 14:36:11 -08:00
Joseph Gardi a1ebddef8a Fix transaction context manager to re-raise exceptions after rollback
The except block was swallowing exceptions silently after rolling back
the transaction. Added `raise` to propagate the exception to the caller.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-08 12:56:11 -08:00
kennethreitz 5941ab2798 Merge pull request #221 from Imran-imtiaz48/patch-1
Update randomuser-sqlite.py
2024-07-09 07:26:42 -04:00
Imran Imtiaz 0ba5df1bd9 Update randomuser-sqlite.py
I improved the script for readability and professionalism by making the following changes:

1. **Comments and Documentation**: Added clear and concise comments to explain the purpose of each section.
2. **Variable Naming**: Used more descriptive variable names.
3. **Code Structure**: Organized the code into logical sections: fetching data, database setup, data insertion, and data retrieval.
4. **Constants**: Defined the database connection string as a constant for clarity and maintainability.
5. **Readability**: Reformatted the code for better readability, following Python's PEP 8 style guide.
2024-07-07 22:12:21 +04:00
kennethreitz ed1e5ad41f Update README.md 2024-03-29 20:01:36 -04:00
kennethreitz 72efce6787 Update version number to 0.6.0 and remove Python 2 support v0.6.0 2024-03-29 19:50:46 -04:00
kennethreitz 35846e1eb0 Update HISTORY.rst with version 0.6.0 changes 2024-03-29 19:50:40 -04:00
kennethreitz 2421cb5f15 Add GitHub Actions workflow for pytest 2024-03-29 19:45:21 -04:00
kennethreitz 9e0d8bc244 Update SQLAlchemy version and modify test fixture 2024-03-29 19:37:25 -04:00
kennethreitz 08845f792a Refactor setup.py and update dependencies 2024-03-29 19:23:13 -04:00
kennethreitz d9c6fea783 Add requirements.txt with pytest and pg extras 2024-03-29 19:23:03 -04:00
kennethreitz d53f49c9ae we really don't need pipenv here 2024-03-29 19:20:56 -04:00
kennethreitz ba85c445e5 Create README.md 2024-03-29 19:17:47 -04:00
kennethreitz 78636f211a Update README.rst 2024-03-29 19:14:22 -04:00
kennethreitz 661a67b93a Update README.rst 2024-03-29 19:13:53 -04:00
kennethreitz cb2f64e2b1 Update README.rst 2024-03-29 19:13:31 -04:00
kennethreitz 3f1e214dd7 Merge pull request #158 from mkai/_rm_old_sqlalchemy
Removed dependency on old SQLAlchemy (for Python 2.6)
2024-03-29 19:07:25 -04:00
kennethreitz 3853e17de8 Merge branch 'master' into _rm_old_sqlalchemy 2024-03-29 19:07:18 -04:00
kennethreitz 461b245973 Merge pull request #215 from python-pitfalls/master
removed a manual indexer iterator pitfall
2024-03-29 19:06:25 -04:00
kennethreitz 7e0be6d383 Merge pull request #219 from prasad83/master
Fixed query execute & result for Sqlachemy 2.0
2024-03-29 19:05:30 -04:00
kennethreitz 27ea234ab4 Merge pull request #154 from arokosaki/master
fix for RecordCollection slicing bug
2024-03-29 19:05:18 -04:00
kennethreitz 332273d8b0 Merge pull request #172 from keelanfh/master
Pass kwargs to get_table_names function
2024-03-29 19:04:47 -04:00
kennethreitz 03eb1f3778 Merge pull request #186 from kipyin/patch-1
Fix Tablib docs links
2024-03-29 19:04:34 -04:00
kennethreitz 39162aceee Merge branch 'master' into patch-1 2024-03-29 19:04:28 -04:00
kennethreitz 491b234ecc Merge pull request #190 from shacknetisp/closed_149
Use close_with_result rather than closing connections too early. (Fixes the sqlite error.)
2024-03-29 19:02:30 -04:00
kennethreitz e6812128fd Merge pull request #184 from paulvoe/master
remove temporary openpyxl fix
2024-03-29 19:01:35 -04:00
kennethreitz a6c7df00a0 Merge pull request #187 from nmurthy/patch-1
Fix tablib links
2024-03-29 19:01:22 -04:00
kennethreitz 677d8e5e18 Merge pull request #199 from kingaj12/patch-1
Update records.py
2024-03-29 19:01:05 -04:00
kennethreitz 25c925bba6 Merge pull request #211 from kennethreitz/dependabot/pip/py-1.10.0
Bump py from 1.5.3 to 1.10.0
2024-03-29 19:00:51 -04:00
kennethreitz 600be6d569 Merge pull request #216 from WangWeigao/patch-1
Compatible with SQLAlchemy 1.4.*
2024-03-29 19:00:38 -04:00
kennethreitz 9852454301 Update README.rst 2024-03-29 19:00:16 -04:00
prasad83 25ccf2e14d Fix for string based key lookup with sqlachemy 2.0
Should use wrapped _keys instead of keys()
2023-05-02 20:41:47 +05:30
prasad83 c03e2bf950 Fixed query execute with params for Sqlachemy 2.0
Sqlachemy 2.x expects parameters be bound to statement (=text(query))
2023-05-02 20:13:38 +05:30
Alan King 494ea86de2 Merge branch 'kennethreitz:master' into patch-1 2023-03-23 14:39:41 -04:00
kennethreitz 67aeb43116 Update FUNDING.yml 2023-03-13 12:40:40 -04:00
WangWeigao ce3be02cce Compatible with SQLAlchemy 1.4.*
Compatible with SQLAlchemy 1.4.*
2021-12-16 16:40:18 +08:00
Naelson Douglas 0dc011e965 removed a manual indexer iterator pitfall 2021-10-19 16:07:29 -03:00
dependabot[bot] 3c32195bd9 Bump py from 1.5.3 to 1.10.0
Bumps [py](https://github.com/pytest-dev/py) from 1.5.3 to 1.10.0.
- [Release notes](https://github.com/pytest-dev/py/releases)
- [Changelog](https://github.com/pytest-dev/py/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/py/compare/1.5.3...1.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-20 16:59:13 +00:00
kennethreitz 0e2d186857 Create FUNDING.yml 2020-12-22 02:29:21 -05:00
Alan King 63f23920dd Update records.py
added a "get_engine()" method
2020-08-12 01:05:12 -04:00
Paul Philip Voelker 8346dadb61 Add openpyxl>2.6.0 requirement 2020-03-30 21:59:55 +02:00
Beha ee04fb2468 Use close_with_result rather than closing connections too early. 2020-01-06 08:24:39 -05:00
Nikhil Murthy d79b39a194 Update README.rst
Phone editing fixes...
2019-11-08 12:20:08 -08:00
Nikhil Murthy 1c123ae779 Fix tablib links 2019-11-08 12:18:11 -08:00
Kip Yin 1fdeb9516e Fix Tablib docs links 2019-10-26 00:11:04 +08:00
Paul Philip Voelker 28aac298e0 remove temporary openpyxl fix 2019-09-02 18:51:51 -04:00