# Ensō Python Frontend
## Install
To install the frontend run in the current directory (`frontend`):
```bash
python3 -m pip install -e .
```
To run the EnsōGen packet generator you also need to have the `capinfos` command installed in the machine you want to use to generate packets.
On Ubuntu (or other Debian-based system) run:
```bash
sudo apt install tshark
```
For other distributions refer to the [wireshark docs](https://tshark.dev/setup/install/#installing-tshark-only) to find the correct package name (either `tshark` or `wireshark-cli`).
## Running
For usage information run:
```bash
enso --help
```
## Enable autocompletion (optional)
#### For Bash
Run this:
```bash
_ENSO_COMPLETE=bash_source enso > ~/.enso-complete.bash
```
Then add the following to your `.bashrc`:
```bash
. ~/.enso-complete.bash
```
#### For Zsh
Run this:
```zsh
_ENSO_COMPLETE=zsh_source enso > ~/.enso-complete.zsh
```
Then add the following to your `.zshrc`:
```zsh
. ~/.enso-complete.zsh
```
#### For Fish
Save the script to `~/.config/fish/completions/enso.fish`:
```fish
_ENSO_COMPLETE=fish_source enso > ~/.config/fish/completions/enso.fish
```
Raw data
{
"_id": null,
"home_page": "https://github.com/crossroadsfpga/enso",
"name": "enso-nic",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "network,enso,nic",
"author": "Hugo Sadok",
"author_email": "sadok@cmu.edu",
"download_url": "https://files.pythonhosted.org/packages/a7/48/87005a91af537a38bcbb083f393fdd0f5981395c9ceb97756c7633100b32/enso-nic-0.1.3.tar.gz",
"platform": null,
"description": "# Ens\u014d Python Frontend\n\n## Install\n\nTo install the frontend run in the current directory (`frontend`):\n```bash\npython3 -m pip install -e .\n```\nTo run the Ens\u014dGen packet generator you also need to have the `capinfos` command installed in the machine you want to use to generate packets.\n\nOn Ubuntu (or other Debian-based system) run:\n```bash\nsudo apt install tshark\n```\n\nFor other distributions refer to the [wireshark docs](https://tshark.dev/setup/install/#installing-tshark-only) to find the correct package name (either `tshark` or `wireshark-cli`).\n\n## Running\n\nFor usage information run:\n```bash\nenso --help\n```\n\n## Enable autocompletion (optional)\n\n#### For Bash\nRun this:\n```bash\n_ENSO_COMPLETE=bash_source enso > ~/.enso-complete.bash\n```\n\nThen add the following to your `.bashrc`:\n```bash\n. ~/.enso-complete.bash\n```\n\n#### For Zsh\nRun this:\n```zsh\n_ENSO_COMPLETE=zsh_source enso > ~/.enso-complete.zsh\n```\n\nThen add the following to your `.zshrc`:\n```zsh\n. ~/.enso-complete.zsh\n```\n\n#### For Fish\nSave the script to `~/.config/fish/completions/enso.fish`:\n```fish\n_ENSO_COMPLETE=fish_source enso > ~/.config/fish/completions/enso.fish\n```\n",
"bugtrack_url": null,
"license": "BSD",
"summary": "Python frontend for the Ens\u014d NIC.",
"version": "0.1.3",
"project_urls": {
"Download": "https://github.com/crossroadsfpga/enso",
"Homepage": "https://github.com/crossroadsfpga/enso"
},
"split_keywords": [
"network",
"enso",
"nic"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "75caeed190281ba723bddde3b632ffe0999dee035d7591142f7c975d6134a1d5",
"md5": "26fd661e80389d6eed8ebda1aec688d3",
"sha256": "3cc67e0e7cff726a8f02cef2d4425d14dea313e6e36bbf8e347c029f62a6fc8a"
},
"downloads": -1,
"filename": "enso_nic-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "26fd661e80389d6eed8ebda1aec688d3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 9731,
"upload_time": "2023-05-09T14:38:47",
"upload_time_iso_8601": "2023-05-09T14:38:47.618893Z",
"url": "https://files.pythonhosted.org/packages/75/ca/eed190281ba723bddde3b632ffe0999dee035d7591142f7c975d6134a1d5/enso_nic-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a74887005a91af537a38bcbb083f393fdd0f5981395c9ceb97756c7633100b32",
"md5": "67385c93c456e94e61c2eb0a96dc442f",
"sha256": "c27df6ef5755298871c5b96f02f3d62317b4149a145bf3511dedd1caddce6d1d"
},
"downloads": -1,
"filename": "enso-nic-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "67385c93c456e94e61c2eb0a96dc442f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 9424,
"upload_time": "2023-05-09T14:38:49",
"upload_time_iso_8601": "2023-05-09T14:38:49.969940Z",
"url": "https://files.pythonhosted.org/packages/a7/48/87005a91af537a38bcbb083f393fdd0f5981395c9ceb97756c7633100b32/enso-nic-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-09 14:38:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "crossroadsfpga",
"github_project": "enso",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "enso-nic"
}