pycerver


Namepycerver JSON
Version 0.5.1 PyPI version JSON
download
home_pagehttps://github.com/ermiry-com/py-cerver
SummaryPyCerver is a pure Python wrapper around the cerver framework
upload_time2021-04-08 03:34:13
maintainer
docs_urlNone
authorErick Salas
requires_python>=3.6
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PyCerver

PyCerver is a pure Python wrapper around the cerver framework. It uses the built-in ctypes module to interface with cerver, and provides simple Python classes and wrappers for common cerver functionality.

## Trying out

### Local

You can test out PyCerver without actually installing it. You just need to set up your PYTHONPATH to point to the location of the source distribution package.

```
export PYTHONPATH=/path/to/py-cerver:$PYTHONPATH
```

### Docker

0. Buid local **development** docker image

```
bash development.sh
```

1. Run **development** image with local source

```
sudo docker run \
  -it \
  --name pycerver --rm \
  -p 5000:5000 \
  -v /home/ermiry/Documents/ermiry/Projects/py-cerver:/home/pycerver \
  -e RUNTIME=development \
  -e PORT=5000 \
  -e CERVER_RECEIVE_BUFFER_SIZE=4096 -e CERVER_TH_THREADS=4 \
  -e CERVER_CONNECTION_QUEUE=4 \
  -e PRIV_KEY=/home/pycerver/keys/key.key \
  -e PUB_KEY=/home/pycerver/keys/key.pub \
  ermiry/pycerver:development /bin/bash
```

2. Handle **pycerver** module

```
export PYTHONPATH=$pwd:$PYTHONPATH
```



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ermiry-com/py-cerver",
    "name": "pycerver",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "Erick Salas",
    "author_email": "erick.salas@ermiry.com",
    "download_url": "https://files.pythonhosted.org/packages/72/52/b6d694facabd96516f86e52d70ab5aafa151c4b3135776996cbb1bd911ed/pycerver-0.5.1.tar.gz",
    "platform": "",
    "description": "# PyCerver\n\nPyCerver is a pure Python wrapper around the cerver framework. It uses the built-in ctypes module to interface with cerver, and provides simple Python classes and wrappers for common cerver functionality.\n\n## Trying out\n\n### Local\n\nYou can test out PyCerver without actually installing it. You just need to set up your PYTHONPATH to point to the location of the source distribution package.\n\n```\nexport PYTHONPATH=/path/to/py-cerver:$PYTHONPATH\n```\n\n### Docker\n\n0. Buid local **development** docker image\n\n```\nbash development.sh\n```\n\n1. Run **development** image with local source\n\n```\nsudo docker run \\\n  -it \\\n  --name pycerver --rm \\\n  -p 5000:5000 \\\n  -v /home/ermiry/Documents/ermiry/Projects/py-cerver:/home/pycerver \\\n  -e RUNTIME=development \\\n  -e PORT=5000 \\\n  -e CERVER_RECEIVE_BUFFER_SIZE=4096 -e CERVER_TH_THREADS=4 \\\n  -e CERVER_CONNECTION_QUEUE=4 \\\n  -e PRIV_KEY=/home/pycerver/keys/key.key \\\n  -e PUB_KEY=/home/pycerver/keys/key.pub \\\n  ermiry/pycerver:development /bin/bash\n```\n\n2. Handle **pycerver** module\n\n```\nexport PYTHONPATH=$pwd:$PYTHONPATH\n```\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "PyCerver is a pure Python wrapper around the cerver framework",
    "version": "0.5.1",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "9dc2ecae4ed93f0080bb5d7782f8f1b8",
                "sha256": "767f8e5ef7bf257333e22f0909a49e5757a2497cc2082db72f3406ee92f39759"
            },
            "downloads": -1,
            "filename": "pycerver-0.5.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9dc2ecae4ed93f0080bb5d7782f8f1b8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 16640,
            "upload_time": "2021-04-08T03:34:06",
            "upload_time_iso_8601": "2021-04-08T03:34:06.824613Z",
            "url": "https://files.pythonhosted.org/packages/78/a5/dfcd7e8c3e264b295f1dcf50510d0aad55c040660945598dfb0576783b05/pycerver-0.5.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "4aa77d1b344bb7c26ad23591bf8981b9",
                "sha256": "b096db6fd44b611c9071821d3f58d6dea412358eaf76053dba5fcc70177c2560"
            },
            "downloads": -1,
            "filename": "pycerver-0.5.1.tar.gz",
            "has_sig": false,
            "md5_digest": "4aa77d1b344bb7c26ad23591bf8981b9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 12906,
            "upload_time": "2021-04-08T03:34:13",
            "upload_time_iso_8601": "2021-04-08T03:34:13.178785Z",
            "url": "https://files.pythonhosted.org/packages/72/52/b6d694facabd96516f86e52d70ab5aafa151c4b3135776996cbb1bd911ed/pycerver-0.5.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-04-08 03:34:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": null,
    "github_project": "ermiry-com",
    "error": "Could not fetch GitHub repository",
    "lcname": "pycerver"
}
        
Elapsed time: 0.27192s