pyodb
Advanced tools
+33
| # Changelog | ||
| ## [0.1.2] - 2023-05-26 | ||
| ### Fixed | ||
| - Switched from Tornado 6.2 to 6.3.2 due to a vulnerability. | ||
| ## [0.1.1] - 2023-04-17 | ||
| ### Added | ||
| - Added PyODBCache for inter-process caching functionality. | ||
| - Added extended documentation | ||
| ### Changed | ||
| - Many performance improvements | ||
| - Reaching max recursion depth no longer causes an error | ||
| - Types beyond max recursion depth are now pickled and saved as blobs | ||
| ### Fixed | ||
| - Stabilized Multi-Threading and Multi-Processing | ||
| (still causes Problems under specific circumstances) | ||
| ## [0.1.0] - 2023-03-31 | ||
| ### Added | ||
| - First fully working Version | ||
| - Implemented PyODB Main Functionalities |
+1
-1
@@ -96,5 +96,5 @@ name: pyodb | ||
| - snakeviz==2.1.1 | ||
| - tornado==6.2 | ||
| - tornado==6.3.2 | ||
| - tox==4.4.8 | ||
| - virtualenv==20.21.0 | ||
| prefix: /usr/miniconda3/envs/pyodb |
+36
-7
| Metadata-Version: 2.1 | ||
| Name: pyodb | ||
| Version: 0.1.1 | ||
| Version: 0.1.2 | ||
| Summary: Python Object DataBase (PyODB) is an ORM library aiming to be as simple to use as possible. | ||
| Project-URL: Homepage, https://github.com/NeoSecundus/PyODB | ||
| Project-URL: Bug Tracker, https://github.com/NeoSecundus/PyODB/issues | ||
| Project-URL: Changelog, https://github.com/NeoSecundus/PyODB/blob/main/CHANGELOG.md | ||
| Author-email: Nikolas Teuschl <nikolas.teuschl@alpha-origin.biz> | ||
| License: MIT License | ||
| Copyright (c) 2023 Nikolas Teuschl | ||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. | ||
| License-File: LICENSE | ||
@@ -20,3 +42,10 @@ Keywords: cache,caching,database,datacache,orm,sqlite,sqlite3 | ||
| [](https://codecov.io/gh/NeoSecundus/PyODB) | ||
|  | ||
|  | ||
|  | ||
|  | ||
| <img src="docs/img/Logo.svg" style="margin: auto; width: 20vh" /> | ||
| Python Object DataBase (PyODB) is a SQLite3 ORM library aiming to be as simple to use as possible. | ||
@@ -30,3 +59,3 @@ This library is supposed to be used for testing, in small projects, when wanting to export complex | ||
| - PyODB can take any (non-primitive) type you pass into it, extracts its members and creates a | ||
| database schema representing the type. Sub-types of the main type are also extracted recusively. | ||
| database schema representing the type. Sub-types of the main type are also extracted recursively. | ||
| - Saves instances of known types into the database and loads them using basic filtering options. | ||
@@ -107,3 +136,3 @@ - Also provides a caching module 'PyODBCache' which may be used for inter-process data caching. | ||
| Now you can get a Selector instance wich is used to select and filter data loaded from the database. | ||
| Now you can get a Selector instance which is used to select and filter data loaded from the database. | ||
@@ -161,3 +190,3 @@ ```python | ||
| Below are linkts to two documents containing more comprehensive examples of different functions. | ||
| Below are links to two documents containing more comprehensive examples of different functions. | ||
| They also contain best practices regarding performance and some possible error cases. | ||
@@ -217,3 +246,3 @@ | ||
| > IMPORTANT: If a class changes between executions the table retains the old definition. | ||
| > It is advisable to reset the database manually in case it was persistet. | ||
| > It is advisable to reset the database manually in case it was persisted. | ||
@@ -248,3 +277,3 @@ The UML Diagram below shows what such a conversion looks like: | ||
| well. The sub-type's table uses a `_parent_` column which references the `_id_` of the | ||
| Origin and a `_parent_table_` column referenceing the type/table-name of the Origin. | ||
| Origin and a `_parent_table_` column referencing the type/table-name of the Origin. | ||
@@ -279,3 +308,3 @@ When an Origin instance is inserted the sub-type instance is saved in it's own table. The table | ||
| Dynamic type definitions (Union) of custom types can also be saved by PyODB. | ||
| Only primitive datatypes must be unambigous. | ||
| Only primitive datatypes must be unambiguous. | ||
@@ -282,0 +311,0 @@ The only exception is None. Data may always be defined with None as an option. |
+3
-1
| [project] | ||
| name = "pyodb" | ||
| version = "0.1.1" | ||
| version = "0.1.2" | ||
| authors = [ | ||
@@ -21,2 +21,3 @@ { name="Nikolas Teuschl", email="nikolas.teuschl@alpha-origin.biz" }, | ||
| dependencies = [] | ||
| license = { file = "LICENSE" } | ||
@@ -30,2 +31,3 @@ [build-system] | ||
| "Bug Tracker" = "https://github.com/NeoSecundus/PyODB/issues" | ||
| "Changelog" = "https://github.com/NeoSecundus/PyODB/blob/main/CHANGELOG.md" | ||
@@ -32,0 +34,0 @@ [tool.ruff] |
+13
-6
@@ -5,3 +5,10 @@ # PyODB | ||
| [](https://codecov.io/gh/NeoSecundus/PyODB) | ||
|  | ||
|  | ||
|  | ||
|  | ||
| <img src="docs/img/Logo.svg" style="margin: auto; width: 20vh" /> | ||
| Python Object DataBase (PyODB) is a SQLite3 ORM library aiming to be as simple to use as possible. | ||
@@ -15,3 +22,3 @@ This library is supposed to be used for testing, in small projects, when wanting to export complex | ||
| - PyODB can take any (non-primitive) type you pass into it, extracts its members and creates a | ||
| database schema representing the type. Sub-types of the main type are also extracted recusively. | ||
| database schema representing the type. Sub-types of the main type are also extracted recursively. | ||
| - Saves instances of known types into the database and loads them using basic filtering options. | ||
@@ -92,3 +99,3 @@ - Also provides a caching module 'PyODBCache' which may be used for inter-process data caching. | ||
| Now you can get a Selector instance wich is used to select and filter data loaded from the database. | ||
| Now you can get a Selector instance which is used to select and filter data loaded from the database. | ||
@@ -146,3 +153,3 @@ ```python | ||
| Below are linkts to two documents containing more comprehensive examples of different functions. | ||
| Below are links to two documents containing more comprehensive examples of different functions. | ||
| They also contain best practices regarding performance and some possible error cases. | ||
@@ -202,3 +209,3 @@ | ||
| > IMPORTANT: If a class changes between executions the table retains the old definition. | ||
| > It is advisable to reset the database manually in case it was persistet. | ||
| > It is advisable to reset the database manually in case it was persisted. | ||
@@ -233,3 +240,3 @@ The UML Diagram below shows what such a conversion looks like: | ||
| well. The sub-type's table uses a `_parent_` column which references the `_id_` of the | ||
| Origin and a `_parent_table_` column referenceing the type/table-name of the Origin. | ||
| Origin and a `_parent_table_` column referencing the type/table-name of the Origin. | ||
@@ -264,3 +271,3 @@ When an Origin instance is inserted the sub-type instance is saved in it's own table. The table | ||
| Dynamic type definitions (Union) of custom types can also be saved by PyODB. | ||
| Only primitive datatypes must be unambigous. | ||
| Only primitive datatypes must be unambiguous. | ||
@@ -267,0 +274,0 @@ The only exception is None. Data may always be defined with None as an option. |
+1
-1
@@ -33,4 +33,4 @@ attrs==22.2.0 | ||
| tomli==2.0.1 | ||
| tornado==6.2 | ||
| tornado==6.3.2 | ||
| tox==4.4.8 | ||
| virtualenv==20.21.0 |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
190339
1.51%51
2%