Name | gums JSON |
Version |
0.0.33
JSON |
| download |
home_page | https://github.com/futzu/gums |
Summary | gums, Grande Unicast Multicast Sender |
upload_time | 2024-12-17 21:16:16 |
maintainer | None |
docs_url | None |
author | Adrian |
requires_python | >=3.6 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# `G`<I>rande</I> `U`<I>nicast</I> `M` <I>ulticast</I> `S` <I>ender</I>
### `gums` is multicast that just works, right out of the box.
---
## gums is designed for multicast mpegts video, but works with any multicast stream.
### Latest is v.`0`.`0`.`31`
![image](https://github.com/futzu/gums/assets/52701496/f8bfad92-2e1e-47c1-a5b2-53e5d3152e0f)
## __Install__
```smalltalk
python3 -mpip install gums
```
### Use gums (Sender) programmatically
```py3
a@debian:~/gums$ pypy3
Python 3.9.16 (7.3.11+dfsg-2, Feb 06 2023, 16:52:03)
[PyPy 7.3.11 with GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>> from gums import GumS
>>>> gummie = GumS("235.35.3.5:3535")
>>>> gummie.send_stream("/home/a/mpegts/pcrvid.ts")
Multicast Stream
udp://@235.35.3.5:3535
Source
0.0.0.0:38835
49636512 Bytes Sent
>>>>
```
## __gums (Sender) cli__
* Supported input mpegts URIs:
* files `gums -i /home/me/vid.ts`
* http(s) `gums -i https://futzu.com/xaa.ts`
* udp `gums -i udp://127.0.0.1:4000`
* multicast `gums -i udp://@235.1.2.3:4567`
* reading from stdin `cat myvideo.ts | gums`
```smalltalk
usage: gums [-h] [-i INPUT] [-a ADDR] [-b BIND_ADDR] [-t TTL] [-v]
optional arguments:
-h, --help Show this help message and exit
-i INPUT, --input INPUT
Like "/home/a/vid.ts" or "udp://@235.35.3.5:3535" or "https://futzu.com/xaa.ts"
-a ADDR, --addr ADDR
Destination IP:Port like "227.1.3.10:4310"
-b BIND_ADDR, --bind_addr BIND_ADDR
Local IP to bind to like "192.168.1.34". Default is 0.0.0.0
-t TTL, --ttl TTL
Multicast TTL 1 - 255
-v, --version
Show version
```
#### __start gums (Sender) cli__
```smalltalk
a@debian:~/gums$ gums -i any.file
stream uri: udp://@235.35.3.5:3535
a@debian:~/gums$
```
## __gumc (Client) cli__
```lua
usage: gumc [-h] [-i INSTUFF] [-b BYTESIZE] [-v]
options:
-h, --help show this help message and exit
-i INSTUFF, --instuff INSTUFF
default is 'udp://@235.35.3.5:3535'
-b BYTESIZE, --bytesize BYTESIZE
Number of bytes to read. default is to read all.
-v, --version Show version
```
### start gumc (Client) cli
```lua
a@debian:~/build/clean/gums$ gumc -i udp://@235.35.3.5:3535 -b 1024
```
### Test gums and gumc together
* first terminal, start the client, __gumc__
```lua
a@debian:~/build/clean/gums$ gumc -b 5 -i udp://@235.35.3.5:3535
```
* second terminal,start the sender, gums__ and send a "hello"
```lua
a@debian:~/build/clean/gums$ printf 'hello' | gums -a 235.35.3.5:3535
stream uri: udp://@235.35.3.5:3535
```
### read all bytes from multicast stream and write to file with gumc (Client)
```lua
gumc -i udp://@235.35.3.5:3535 -o output.ts
```
### read 13 bytes from a multicast stream with gumc (Client)
```lua
gumc -i udp://@235.35.3.5:3535 -b 13
```
### read 10000 bytes from a multicast stream with gumc (Client)
```lua
gumc -i udp://@235.35.3.5:3535 -b 10000
```
___
___
![image](https://user-images.githubusercontent.com/52701496/166299701-72ee908a-5053-45fc-a716-4b8ca4b1ef32.png)
Raw data
{
"_id": null,
"home_page": "https://github.com/futzu/gums",
"name": "gums",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Adrian",
"author_email": "spam@iodisco.com",
"download_url": "https://files.pythonhosted.org/packages/f0/97/60f082bc092a2be3faf1b115f312f2014bb85529c5879d226aee5a444edb/gums-0.0.33.tar.gz",
"platform": "all",
"description": "# `G`<I>rande</I> `U`<I>nicast</I> `M` <I>ulticast</I> `S` <I>ender</I> \n\n\n### `gums` is multicast that just works, right out of the box.\n---\n\n## gums is designed for multicast mpegts video, but works with any multicast stream.\n\n### Latest is v.`0`.`0`.`31`\n\n ![image](https://github.com/futzu/gums/assets/52701496/f8bfad92-2e1e-47c1-a5b2-53e5d3152e0f)\n\n\n\n\n## __Install__\n\n```smalltalk\n\npython3 -mpip install gums\n\n```\n\n\n\n\n### Use gums (Sender) programmatically\n```py3\na@debian:~/gums$ pypy3\nPython 3.9.16 (7.3.11+dfsg-2, Feb 06 2023, 16:52:03)\n[PyPy 7.3.11 with GCC 12.2.0] on linux\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n>>>> from gums import GumS\n>>>> gummie = GumS(\"235.35.3.5:3535\")\n>>>> gummie.send_stream(\"/home/a/mpegts/pcrvid.ts\")\n\n\tMulticast Stream\n\tudp://@235.35.3.5:3535\n\n\tSource\n\t0.0.0.0:38835\n\n49636512 Bytes Sent\n\n>>>> \n\n```\n\n## __gums (Sender) cli__\n\n * Supported input mpegts URIs:\n\n * files `gums -i /home/me/vid.ts`\n\n * http(s) `gums -i https://futzu.com/xaa.ts`\n\n * udp `gums -i udp://127.0.0.1:4000`\n\n * multicast `gums -i udp://@235.1.2.3:4567`\n\n * reading from stdin `cat myvideo.ts | gums`\n\n```smalltalk\nusage: gums [-h] [-i INPUT] [-a ADDR] [-b BIND_ADDR] [-t TTL] [-v]\n\noptional arguments:\n -h, --help Show this help message and exit\n\n-i INPUT, --input INPUT\n Like \"/home/a/vid.ts\" or \"udp://@235.35.3.5:3535\" or \"https://futzu.com/xaa.ts\"\n\n-a ADDR, --addr ADDR \n Destination IP:Port like \"227.1.3.10:4310\"\n\n-b BIND_ADDR, --bind_addr BIND_ADDR\n\n Local IP to bind to like \"192.168.1.34\". Default is 0.0.0.0\n\n-t TTL, --ttl TTL \n Multicast TTL 1 - 255\n\n-v, --version \n Show version\n\n```\n#### __start gums (Sender) cli__\n```smalltalk\na@debian:~/gums$ gums -i any.file \nstream uri: udp://@235.35.3.5:3535\na@debian:~/gums$ \n```\n## __gumc (Client) cli__\n```lua\nusage: gumc [-h] [-i INSTUFF] [-b BYTESIZE] [-v]\n\noptions:\n -h, --help show this help message and exit\n -i INSTUFF, --instuff INSTUFF\n default is 'udp://@235.35.3.5:3535'\n -b BYTESIZE, --bytesize BYTESIZE\n Number of bytes to read. default is to read all.\n -v, --version Show version\n```\n\n### start gumc (Client) cli\n```lua\na@debian:~/build/clean/gums$ gumc -i udp://@235.35.3.5:3535 -b 1024\n\n```\n### Test gums and gumc together\n* first terminal, start the client, __gumc__\n```lua\na@debian:~/build/clean/gums$ gumc -b 5 -i udp://@235.35.3.5:3535\n```\n* second terminal,start the sender, gums__ and send a \"hello\"\n```lua\na@debian:~/build/clean/gums$ printf 'hello' | gums -a 235.35.3.5:3535\nstream uri: udp://@235.35.3.5:3535\n```\n### read all bytes from multicast stream and write to file with gumc (Client)\n```lua\ngumc -i udp://@235.35.3.5:3535 -o output.ts\n```\n### read 13 bytes from a multicast stream with gumc (Client)\n ```lua\n gumc -i udp://@235.35.3.5:3535 -b 13\n ```\n### read 10000 bytes from a multicast stream with gumc (Client)\n ```lua\n gumc -i udp://@235.35.3.5:3535 -b 10000\n```\n\n___\n\n\n\n___\n\n![image](https://user-images.githubusercontent.com/52701496/166299701-72ee908a-5053-45fc-a716-4b8ca4b1ef32.png)\n\n\n\n",
"bugtrack_url": null,
"license": null,
"summary": "gums, Grande Unicast Multicast Sender",
"version": "0.0.33",
"project_urls": {
"Homepage": "https://github.com/futzu/gums"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "910448c0735f8ede7931c3627da0e9d1494247472bd2b804b8c0b683ba5abd7e",
"md5": "cba8bbcce56afc634e313d16ea86b639",
"sha256": "da51a5ec1eecfeecbec80be4f7bf155c9d69c106e1b04548ba3b8c6d2515f5b4"
},
"downloads": -1,
"filename": "gums-0.0.33-py3-none-any.whl",
"has_sig": false,
"md5_digest": "cba8bbcce56afc634e313d16ea86b639",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 7390,
"upload_time": "2024-12-17T21:16:13",
"upload_time_iso_8601": "2024-12-17T21:16:13.916520Z",
"url": "https://files.pythonhosted.org/packages/91/04/48c0735f8ede7931c3627da0e9d1494247472bd2b804b8c0b683ba5abd7e/gums-0.0.33-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f09760f082bc092a2be3faf1b115f312f2014bb85529c5879d226aee5a444edb",
"md5": "3c3f2eaa29be2a1c29fbe560fcabffe6",
"sha256": "49209191ba6e238f7a70df0b92fb64b85c37ed842b8d23835b970d7efc90f753"
},
"downloads": -1,
"filename": "gums-0.0.33.tar.gz",
"has_sig": false,
"md5_digest": "3c3f2eaa29be2a1c29fbe560fcabffe6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 5469,
"upload_time": "2024-12-17T21:16:16",
"upload_time_iso_8601": "2024-12-17T21:16:16.455405Z",
"url": "https://files.pythonhosted.org/packages/f0/97/60f082bc092a2be3faf1b115f312f2014bb85529c5879d226aee5a444edb/gums-0.0.33.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-17 21:16:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "futzu",
"github_project": "gums",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "gums"
}