mysqlonsockets


Namemysqlonsockets JSON
Version 0.0.1 PyPI version JSON
download
home_page
SummaryA module which helps you use your MYSQL database over local network by connecting another devices.
upload_time2022-12-13 06:05:05
maintainer
docs_urlNone
authorVedant Barhate
requires_python
license
keywords python socket sockets mysql sql database server-client sql remote user
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# mysqlonsockets





```cmd

pip install mysqlonsockets

```



Developed by Vedant Barhate (c) 2022



You need basic knowledge of Python And MySQL to use this package.



This package is useful when you want to use your MySQL database from one device on another devices.





## Example



### Creating A Server

```python

from mysqlonsockets import Server

server = Server(server_host='<IPv4 addr>', server_port=9999, db_host='localhost', db_user='root', db_pswd='<user-pswd>', db_name='<database name>')

server.startServer()

# When You Are Done

server.stopServer()

```



### Creating A Client

```python

from mysqlonsockets import Client

client = Client(host='<IPv4 addr of device to join>', port=9999)

client.connectClient()

data = askQuery('<SQL-Query>')

print(data)

# When You Are Done

client.closeClient()

```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "mysqlonsockets",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,socket,sockets,mysql,sql,database,server-client,sql remote user",
    "author": "Vedant Barhate",
    "author_email": "vedant.barhate27@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/f0/f1/a42b582e635d14e6b50d2a5a44ce54c4dcf5e49199c9f08215bfee1d4936/mysqlonsockets-0.0.1.tar.gz",
    "platform": null,
    "description": "\n# mysqlonsockets\n\n\n\n\n\n```cmd\n\npip install mysqlonsockets\n\n```\n\n\n\nDeveloped by Vedant Barhate (c) 2022\n\n\n\nYou need basic knowledge of Python And MySQL to use this package.\n\n\n\nThis package is useful when you want to use your MySQL database from one device on another devices.\n\n\n\n\n\n## Example\n\n\n\n### Creating A Server\n\n```python\n\nfrom mysqlonsockets import Server\n\nserver = Server(server_host='<IPv4 addr>', server_port=9999, db_host='localhost', db_user='root', db_pswd='<user-pswd>', db_name='<database name>')\n\nserver.startServer()\n\n# When You Are Done\n\nserver.stopServer()\n\n```\n\n\n\n### Creating A Client\n\n```python\n\nfrom mysqlonsockets import Client\n\nclient = Client(host='<IPv4 addr of device to join>', port=9999)\n\nclient.connectClient()\n\ndata = askQuery('<SQL-Query>')\n\nprint(data)\n\n# When You Are Done\n\nclient.closeClient()\n\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A module which helps you use your MYSQL database over local network by connecting another devices.",
    "version": "0.0.1",
    "split_keywords": [
        "python",
        "socket",
        "sockets",
        "mysql",
        "sql",
        "database",
        "server-client",
        "sql remote user"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "50f8e2b271b2f3eb9b2d555978cccbc9",
                "sha256": "b780d4469f2b56c727ec221bb3eb1abe9e216b84bc1fa78568c3c447c4c0b41f"
            },
            "downloads": -1,
            "filename": "mysqlonsockets-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "50f8e2b271b2f3eb9b2d555978cccbc9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3614,
            "upload_time": "2022-12-13T06:05:02",
            "upload_time_iso_8601": "2022-12-13T06:05:02.848105Z",
            "url": "https://files.pythonhosted.org/packages/ba/70/e6e43ef9642ed7d8ea5962270441455866887511129db045ecccfa1c076c/mysqlonsockets-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "52c788904e195d29d03a955fe1b2a498",
                "sha256": "6367f95cce2da91c2f4af4a49e72ebe37efc7c5ccdc1427153c28b6ebdd8dac5"
            },
            "downloads": -1,
            "filename": "mysqlonsockets-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "52c788904e195d29d03a955fe1b2a498",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3306,
            "upload_time": "2022-12-13T06:05:05",
            "upload_time_iso_8601": "2022-12-13T06:05:05.483001Z",
            "url": "https://files.pythonhosted.org/packages/f0/f1/a42b582e635d14e6b50d2a5a44ce54c4dcf5e49199c9f08215bfee1d4936/mysqlonsockets-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-13 06:05:05",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "mysqlonsockets"
}
        
Elapsed time: 0.02080s