cybermarket-server


Namecybermarket-server JSON
Version 1.0.1 PyPI version JSON
download
home_pageNone
SummaryThe server of the online network market accepts login, listing, purchase, etc. requests sent by the client.
upload_time2024-05-05 13:51:00
maintainerNone
docs_urlNone
authorNone
requires_python>=3.11
licenseMIT License Copyright (c) 2024 Hailin Liu 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 shopping online-market
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # cybermarket_server

The server of a online cybermarket.

## Statement of solved problem

**Module goals:** Build a module to accept binary messages from cybermarket_client, parse the messages and perform add, delete, modify and query operations in the database based on parameters.

**Client functions**:
  - **Create an account**:
    - Provide username, email, and password to create a new client.
  - **Account login or logout**:
    - Log in using username or email and password and log out
  - **Modify Personal Information**:
    - Username, email, and password are allowed to be modified
  - **Add or remove products**:
    - Allow customers to add or remove items from their shopping cart
  - **List order items**:
    - Users can view the items in their shopping cart
  - **Get total price**:
    - The user can get the total price of the items in the shopping cart
  - **Checkout order**:
    - Users can check out items in their shopping cart

**Merchant functions**:
  - **Create invitation code**:
    - Merchants can generate invitation codes to invite new merchants to join
  - **Create an account**:
    - Provide storename, description, email, password, and the invitation information to create a new merchant.
  - **Account login or logout**:
    - Log in using storename or email and password and log out
  - **Modify Personal Information**:
    - Storename, description, email, and password are allowed to be modified
  - **Put on or off the shelf**:
    - Merchants should be able to put products on or off the shelves
  - **Product restock**: 
    - Merchants should be able to restock products on shelves
  - **Get profit**:
    - Merchants should be able to capture their profits

**Common functions**:
  - **List Merchant**:
    - Allows to get a list of merchants without logging in
  - **List Product**:
    - Allows to obtain the product list of a specified merchant without logging in

## Description of proposed solution tools
| Depends        | Description |
|---|---|
| Pandas          | A tool for data analysis and manipulation. |
| SQLAlchemy      | A tool for interfacing between Python and databases. |

## Database ERD diagram
![ERD diagram](./ERD_diagram.png)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "cybermarket-server",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": null,
    "keywords": "shopping, online-market",
    "author": null,
    "author_email": "Hailin Liu <0123liuhailin@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/00/4e/9eda8a032aece073c05bc3d4a609d6f8fa48ad0366a40b5a176a71ff1739/cybermarket_server-1.0.1.tar.gz",
    "platform": null,
    "description": "# cybermarket_server\r\n\r\nThe server of a online cybermarket.\r\n\r\n## Statement of solved problem\r\n\r\n**Module goals:** Build a module to accept binary messages from cybermarket_client, parse the messages and perform add, delete, modify and query operations in the database based on parameters.\r\n\r\n**Client functions**:\r\n  - **Create an account**:\r\n    - Provide username, email, and password to create a new client.\r\n  - **Account login or logout**:\r\n    - Log in using username or email and password and log out\r\n  - **Modify Personal Information**:\r\n    - Username, email, and password are allowed to be modified\r\n  - **Add or remove products**:\r\n    - Allow customers to add or remove items from their shopping cart\r\n  - **List order items**:\r\n    - Users can view the items in their shopping cart\r\n  - **Get total price**:\r\n    - The user can get the total price of the items in the shopping cart\r\n  - **Checkout order**:\r\n    - Users can check out items in their shopping cart\r\n\r\n**Merchant functions**:\r\n  - **Create invitation code**:\r\n    - Merchants can generate invitation codes to invite new merchants to join\r\n  - **Create an account**:\r\n    - Provide storename, description, email, password, and the invitation information to create a new merchant.\r\n  - **Account login or logout**:\r\n    - Log in using storename or email and password and log out\r\n  - **Modify Personal Information**:\r\n    - Storename, description, email, and password are allowed to be modified\r\n  - **Put on or off the shelf**:\r\n    - Merchants should be able to put products on or off the shelves\r\n  - **Product restock**: \r\n    - Merchants should be able to restock products on shelves\r\n  - **Get profit**:\r\n    - Merchants should be able to capture their profits\r\n\r\n**Common functions**:\r\n  - **List Merchant**:\r\n    - Allows to get a list of merchants without logging in\r\n  - **List Product**:\r\n    - Allows to obtain the product list of a specified merchant without logging in\r\n\r\n## Description of proposed solution tools\r\n| Depends        | Description |\r\n|---|---|\r\n| Pandas          | A tool for data analysis and manipulation. |\r\n| SQLAlchemy      | A tool for interfacing between Python and databases. |\r\n\r\n## Database ERD diagram\r\n![ERD diagram](./ERD_diagram.png)\r\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 Hailin Liu  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": "The server of the online network market accepts login, listing, purchase, etc. requests sent by the client.",
    "version": "1.0.1",
    "project_urls": null,
    "split_keywords": [
        "shopping",
        " online-market"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "adf6054901c255b7e740fdeb8dadce0ba0aac0404b86957179e40fb9d52efc42",
                "md5": "d10fc4c9e3ecc968b2df9656c34966e0",
                "sha256": "ae77af103bb841e869808172ab5161333f9ed4f3c34b949c4aaecf9a4e9e7e33"
            },
            "downloads": -1,
            "filename": "cybermarket_server-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d10fc4c9e3ecc968b2df9656c34966e0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 19757,
            "upload_time": "2024-05-05T13:50:58",
            "upload_time_iso_8601": "2024-05-05T13:50:58.486825Z",
            "url": "https://files.pythonhosted.org/packages/ad/f6/054901c255b7e740fdeb8dadce0ba0aac0404b86957179e40fb9d52efc42/cybermarket_server-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "004e9eda8a032aece073c05bc3d4a609d6f8fa48ad0366a40b5a176a71ff1739",
                "md5": "16a9f95d36bcb74b002e86eee1123469",
                "sha256": "d506c03625cdb4955a8a55d5b8b10867fffe25b051cab1faad35a63add4a3267"
            },
            "downloads": -1,
            "filename": "cybermarket_server-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "16a9f95d36bcb74b002e86eee1123469",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 173606,
            "upload_time": "2024-05-05T13:51:00",
            "upload_time_iso_8601": "2024-05-05T13:51:00.473278Z",
            "url": "https://files.pythonhosted.org/packages/00/4e/9eda8a032aece073c05bc3d4a609d6f8fa48ad0366a40b5a176a71ff1739/cybermarket_server-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-05 13:51:00",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "cybermarket-server"
}
        
Elapsed time: 0.24225s