pgElephant


NamepgElephant JSON
Version 1.0.4 PyPI version JSON
download
home_pageNone
SummaryPostgreSQL Database Manager
upload_time2024-03-26 21:22:09
maintainerNone
docs_urlNone
authorRyan Souza Anselmo
requires_pythonNone
licenseMIT License Copyright (c) 2024 Ryan Souza 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.
keywords pgelephant
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pgElephant
PostgreSQL Database Manager

# CREATE ADMIN
bank = PostgreSQL(dbname='sgo',user='dev',password=123456)

# CONNECT
bank.connect()

# CHECK
version = bank.version()

# GET ALL VALUES IN ONE TABLE
value_all = bank.get_all(table='users')

# GET A UNIQUE ITEM
value_single = bank.get_single(unique='ryansouza.cwb@gmail.com',table='users',column='email')

# GET A SINGLE LINE
value_first = bank.get_first(unique='ryansouza.cwb@gmail.com',table='users',column='email')

# COMMIT
bank.commit()

# DISCONNECT
bank.disconnect()

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pgElephant",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "pgElephant",
    "author": "Ryan Souza Anselmo",
    "author_email": "ryansouza.cwb@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/3a/1b/39a4d41d274d2adeffaa07e477cf3127433f656c1496f59550cbec4a9aa2/pgElephant-1.0.4.tar.gz",
    "platform": null,
    "description": "# pgElephant\r\nPostgreSQL Database Manager\r\n\r\n# CREATE ADMIN\r\nbank = PostgreSQL(dbname='sgo',user='dev',password=123456)\r\n\r\n# CONNECT\r\nbank.connect()\r\n\r\n# CHECK\r\nversion = bank.version()\r\n\r\n# GET ALL VALUES IN ONE TABLE\r\nvalue_all = bank.get_all(table='users')\r\n\r\n# GET A UNIQUE ITEM\r\nvalue_single = bank.get_single(unique='ryansouza.cwb@gmail.com',table='users',column='email')\r\n\r\n# GET A SINGLE LINE\r\nvalue_first = bank.get_first(unique='ryansouza.cwb@gmail.com',table='users',column='email')\r\n\r\n# COMMIT\r\nbank.commit()\r\n\r\n# DISCONNECT\r\nbank.disconnect()\r\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 Ryan Souza  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. ",
    "summary": "PostgreSQL Database Manager",
    "version": "1.0.4",
    "project_urls": null,
    "split_keywords": [
        "pgelephant"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3a1b39a4d41d274d2adeffaa07e477cf3127433f656c1496f59550cbec4a9aa2",
                "md5": "bb2c53fa5fad8ae7ce5f9a328d0fcea6",
                "sha256": "6b1fc7d20f191c489ff05e741be99f46ed29e5476d6340717b2e4188d60bb386"
            },
            "downloads": -1,
            "filename": "pgElephant-1.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "bb2c53fa5fad8ae7ce5f9a328d0fcea6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2924,
            "upload_time": "2024-03-26T21:22:09",
            "upload_time_iso_8601": "2024-03-26T21:22:09.717115Z",
            "url": "https://files.pythonhosted.org/packages/3a/1b/39a4d41d274d2adeffaa07e477cf3127433f656c1496f59550cbec4a9aa2/pgElephant-1.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-26 21:22:09",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "pgelephant"
}
        
Elapsed time: 8.59322s