# FCP
**FCP** stands for **Fast Channel Protocol**, a protocol used to route on "**channels**" and send or receive data.
This protocol does not use a **buffer**, which is specially designed for local network addresses for a camera/audio device connection.
This protocol **has much the same function as radio frequencies**, unlimited clients can send/receive information without physical addresses.
## How to install:
`pip install protofcp`
## Send message in channel 1:
```python
import protofcp
sock = protofcp.FCPSocket(protofcp.Channels.CHANNEL_01)
while True:
msg = input("> ")
sock.send(msg.encode())
```
## Receive message in channel 1:
```python
import protofcp
sock = protofcp.FCPSocket(protofcp.Channels.CHANNEL_01)
msg = sock.recv()
print(msg)
```
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
Copyright 2023 Andrea Vaccaro
Apache License 2.0
Raw data
{
"_id": null,
"home_page": "https://github.com/ANDRVV/FCP",
"name": "protofcp",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,socket,protocol,proto,channel,scapy,packet",
"author": "Andrea Vaccaro",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/1c/e9/d4932f9352957a8cde436f8c7f5726b0ae1a6dcbcc9bf7c899088a7aaaff/protofcp-0.0.2.tar.gz",
"platform": null,
"description": "\n# FCP\n\n**FCP** stands for **Fast Channel Protocol**, a protocol used to route on \"**channels**\" and send or receive data. \n\nThis protocol does not use a **buffer**, which is specially designed for local network addresses for a camera/audio device connection.\n\nThis protocol **has much the same function as radio frequencies**, unlimited clients can send/receive information without physical addresses.\n\n\n\n## How to install:\n\n\n\n`pip install protofcp`\n\n\n\n## Send message in channel 1:\n\n```python\n\nimport protofcp\n\n\n\nsock = protofcp.FCPSocket(protofcp.Channels.CHANNEL_01)\n\nwhile True:\n\n msg = input(\"> \")\n\n sock.send(msg.encode())\n\n```\n\n\n\n## Receive message in channel 1:\n\n```python\n\nimport protofcp\n\n\n\nsock = protofcp.FCPSocket(protofcp.Channels.CHANNEL_01)\n\nmsg = sock.recv()\n\nprint(msg)\n\n```\n\n\n\n\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\n\n\n\nCopyright 2023 Andrea Vaccaro\n\n\n\nApache License 2.0\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "FCP is a protocol used to route on \"channels\" and send or receive data.",
"version": "0.0.2",
"split_keywords": [
"python",
"socket",
"protocol",
"proto",
"channel",
"scapy",
"packet"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b3ce3f7ab81455e1d4e03fa786e3c6f37406477df07b9bdfaff16dae850ea52f",
"md5": "936f5584ac251d2bf409e52d6bab0dfd",
"sha256": "e7b74372f394686abeb46dde87cae41be906acb0df22198387df0fb7aa80a88b"
},
"downloads": -1,
"filename": "protofcp-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "936f5584ac251d2bf409e52d6bab0dfd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7957,
"upload_time": "2023-04-14T14:07:28",
"upload_time_iso_8601": "2023-04-14T14:07:28.637086Z",
"url": "https://files.pythonhosted.org/packages/b3/ce/3f7ab81455e1d4e03fa786e3c6f37406477df07b9bdfaff16dae850ea52f/protofcp-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1ce9d4932f9352957a8cde436f8c7f5726b0ae1a6dcbcc9bf7c899088a7aaaff",
"md5": "da7cf7a7ff499eb4b1a72d6a764a73df",
"sha256": "8eba0ff83cb6e0659e8eeef7b17b52798651fb96addb0faabbe3f2add206d2dd"
},
"downloads": -1,
"filename": "protofcp-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "da7cf7a7ff499eb4b1a72d6a764a73df",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7100,
"upload_time": "2023-04-14T14:07:31",
"upload_time_iso_8601": "2023-04-14T14:07:31.043056Z",
"url": "https://files.pythonhosted.org/packages/1c/e9/d4932f9352957a8cde436f8c7f5726b0ae1a6dcbcc9bf7c899088a7aaaff/protofcp-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-14 14:07:31",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "ANDRVV",
"github_project": "FCP",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "protofcp"
}