mysql-on-sockets


Namemysql-on-sockets JSON
Version 0.0.1 PyPI version JSON
download
home_page
SummaryA module which helps you access your MYSQL database over local network.
upload_time2022-12-12 10:13:43
maintainer
docs_urlNone
authorVedant Barhate
requires_python
license
keywords python socket sockets mysql sql database server-client remote user
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# mysql_on_sockets



```cmd

pip install mysql_on_sockets

```



Developed by Vedant Barhate (c) 2022



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



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



## Example

### Creating A Server



```python

from mysql_on_sockets 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 mysql_on_sockets import Client



client = Client(host='<IPv4 addr of devide 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": "mysql-on-sockets",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,socket,sockets,mysql,sql,database,server-client,remote user",
    "author": "Vedant Barhate",
    "author_email": "vedant.barhate27@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/26/7a/b3bcb93a250dd7e6422254b067b9d314b7b0bd93ff1a5406c1bbdd4c4018/mysql_on_sockets-0.0.1.tar.gz",
    "platform": null,
    "description": "\n# mysql_on_sockets\n\n\n\n```cmd\n\npip install mysql_on_sockets\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 useful when you want to use your MySQL database from one device on other devices.\n\n\n\n## Example\n\n### Creating A Server\n\n\n\n```python\n\nfrom mysql_on_sockets import Server\n\n\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\n\n\nserver.startServer()\n\n\n\n# When You Are Done\n\nserver.stopServer()\n\n```\n\n\n\n### Creating A Client\n\n```python\n\nfrom mysql_on_sockets import Client\n\n\n\nclient = Client(host='<IPv4 addr of devide to join>', port=9999)\n\nclient.connectClient()\n\n\n\ndata = askQuery('<SQL-Query>')\n\nprint(data)\n\n\n\n# When You Are Done\n\nclient.closeClient()\n\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A module which helps you access your MYSQL database over local network.",
    "version": "0.0.1",
    "split_keywords": [
        "python",
        "socket",
        "sockets",
        "mysql",
        "sql",
        "database",
        "server-client",
        "remote user"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "8af4469dddf80a2c6ffc975d38c21530",
                "sha256": "24d8f34b3eac7c7c8f38149faf28150daeed627c0aaef621e6d8f9db80756cf0"
            },
            "downloads": -1,
            "filename": "mysql_on_sockets-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8af4469dddf80a2c6ffc975d38c21530",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3666,
            "upload_time": "2022-12-12T10:13:41",
            "upload_time_iso_8601": "2022-12-12T10:13:41.989580Z",
            "url": "https://files.pythonhosted.org/packages/c5/9f/77538d975ad4aac52d879037876373b1b8a504d673e172c0b4b098cc69a0/mysql_on_sockets-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "7aa71a2ac4b8999da8b4c0fdd1adc6a1",
                "sha256": "6505735b192128124177f8dc98b5b169445b6bc95376d42811f104b027102324"
            },
            "downloads": -1,
            "filename": "mysql_on_sockets-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "7aa71a2ac4b8999da8b4c0fdd1adc6a1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3323,
            "upload_time": "2022-12-12T10:13:43",
            "upload_time_iso_8601": "2022-12-12T10:13:43.912918Z",
            "url": "https://files.pythonhosted.org/packages/26/7a/b3bcb93a250dd7e6422254b067b9d314b7b0bd93ff1a5406c1bbdd4c4018/mysql_on_sockets-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-12 10:13:43",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "mysql-on-sockets"
}
        
Elapsed time: 0.06581s