sql-deta


Namesql-deta JSON
Version 0.0.10a4 PyPI version JSON
download
home_pagehttps://github.com/ablaternae/sql-deta
SummaryDetabase <--> SQL proxy
upload_time2023-07-01 05:29:43
maintainer
docs_urlNone
authord;)
requires_python>=3.7
licenseGLWTPL
keywords deta detabase sql peewee mixin
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Attention! not for production
## sql deta under construction

this mixin wraps just a few [Peewee](https://docs.peewee-orm.com/) methods

|     |     |
| --- | --- |
| Model.create_table() | `.load() if Meta.mirroring is True` |
| Model.save() | `deta.Base(table_name).put( dirty_fields or all columns )` |
| Model.insert() | calls .save() |
| Model.create() | calls .save() |
| Model.update() | *not wrapped* |
| Model.Meta.deta | `deta.Deta(DETA_KEY)` |
| Model.Meta.mirroring | always sync full table, after create & before exit , `False` default |

## how it work
<!--
no complete match
approximate mirroring
has limited compatibility

create
insert
update
save

load
dump
-->

## License
* It's opensource and free software, see the [LICENSE](LICENSE) for more details

## similar projects
* [ssqlite3](https://github.com/jnsougata/space-sqlite3/) store binary `datafile.sqlite3` in DetaBase tables
* [ODetaM](https://github.com/rickh94/ODetaM/) Object Document Mapper for DetaBase based on pydantic
* [detadantic](https://github.com/Jay184/detadantic/) Active-Record style wrappers to Deta Base
* [deta-base-pydantic](https://github.com/papalotis/deta-base-pydantic/) 
* [csv-deta](https://pypi.org/project/csv-deta/)  

## TODO

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ablaternae/sql-deta",
    "name": "sql-deta",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "deta,detabase,sql,peewee,mixin",
    "author": "d;)",
    "author_email": "",
    "download_url": "",
    "platform": null,
    "description": "\r\n# Attention! not for production\r\n## sql deta under construction\r\n\r\nthis mixin wraps just a few [Peewee](https://docs.peewee-orm.com/) methods\r\n\r\n|     |     |\r\n| --- | --- |\r\n| Model.create_table() | `.load() if Meta.mirroring is True` |\r\n| Model.save() | `deta.Base(table_name).put( dirty_fields or all columns )` |\r\n| Model.insert() | calls .save() |\r\n| Model.create() | calls .save() |\r\n| Model.update() | *not wrapped* |\r\n| Model.Meta.deta | `deta.Deta(DETA_KEY)` |\r\n| Model.Meta.mirroring | always sync full table, after create & before exit , `False` default |\r\n\r\n## how it work\r\n<!--\r\nno complete match\r\napproximate mirroring\r\nhas limited compatibility\r\n\r\ncreate\r\ninsert\r\nupdate\r\nsave\r\n\r\nload\r\ndump\r\n-->\r\n\r\n## License\r\n* It's opensource and free software, see the [LICENSE](LICENSE) for more details\r\n\r\n## similar projects\r\n* [ssqlite3](https://github.com/jnsougata/space-sqlite3/) store binary `datafile.sqlite3` in DetaBase tables\r\n* [ODetaM](https://github.com/rickh94/ODetaM/) Object Document Mapper for DetaBase based on pydantic\r\n* [detadantic](https://github.com/Jay184/detadantic/) Active-Record style wrappers to Deta Base\r\n* [deta-base-pydantic](https://github.com/papalotis/deta-base-pydantic/) \r\n* [csv-deta](https://pypi.org/project/csv-deta/)  \r\n\r\n## TODO\r\n",
    "bugtrack_url": null,
    "license": "GLWTPL",
    "summary": "Detabase <--> SQL proxy",
    "version": "0.0.10a4",
    "project_urls": {
        "Homepage": "https://github.com/ablaternae/sql-deta"
    },
    "split_keywords": [
        "deta",
        "detabase",
        "sql",
        "peewee",
        "mixin"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "74be7ea96e8a1c1469f89eccf8be53e998aec417bd9e1dbaf0ef63b1b2de9ee3",
                "md5": "19dcff6fe63bab796af4a68b50e21ea3",
                "sha256": "f8c786ef985d93a98e8752d8eca0d42167f55670845ba9abf6c83a7adcc93699"
            },
            "downloads": -1,
            "filename": "sql_deta-0.0.10a4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "19dcff6fe63bab796af4a68b50e21ea3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 16045,
            "upload_time": "2023-07-01T05:29:43",
            "upload_time_iso_8601": "2023-07-01T05:29:43.820236Z",
            "url": "https://files.pythonhosted.org/packages/74/be/7ea96e8a1c1469f89eccf8be53e998aec417bd9e1dbaf0ef63b1b2de9ee3/sql_deta-0.0.10a4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-01 05:29:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ablaternae",
    "github_project": "sql-deta",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "sql-deta"
}
        
d;)
Elapsed time: 0.10674s