semvec/pypi-packages huggingface dataset:
chatgpt-tui 0.7.0
A simple TUI interface for ChatGPT.
Requires Python: >=3.7
Keywords: chatbot,tui,chatgpt,chatgpt_tui

# ChatGPT TUI

[![PyPI version](https://badge.fury.io/py/chatgpt_tui.svg)](https://badge.fury.io/py/chatgpt_tui)

![](https://i.imgur.com/E1mrVGU.png)

`catui` is a Python-based Text User Interface (TUI) for ChatGPT, powered by OpenAI's official API. It provides an easy-to-use interface that allows you to interact with ChatGPT directly from your terminal.

## Usage

### Install

```bash
pip install -U chatgpt_tui
```

### Export your OpenAI API key

Before using it, you need to export your [OpenAI API key](https://platform.openai.com/account/api-keys) as an environment variable:

```bash
export OPENAI_API_KEY=your-api-key
```

### Launch

To start the app, simply run the following command in your terminal:

```bash
catui
```

This will launch `catui` and connect you to the ChatGPT chatbot.

### Road Map
- Resume from previous chat history
- Improve UI/UX
  - Better visuals
  - More keybindings

# License

`catui` is licensed under the MIT License.
kcsd-battleship-mp 1.1.0
Multiplayer client/server for CSD BattleShip
Requires Python: >=3.8

##########################################################
``battleship_mp`` - Multiplayer Support for CSD Battleship
##########################################################

.. image:: https://readthedocs.org/projects/battleship-mp/badge/?version=latest
    :target: https://battleship-mp.readthedocs.io/en/latest
    :alt: Documentation Status

.. image:: https://img.shields.io/pypi/v/kcsd-battleship-mp.svg
    :alt: Available on PyPI
    :target: https://pypi.python.org/pypi/kcsd-battleship-mp/

.. image:: https://img.shields.io/github/license/kit-colsoftdes/battleship_mp.svg
    :alt: License
    :target: https://github.com/kit-colsoftdes/battleship_mp/blob/main/LICENSE

This package provides a simple client and server for the Battleship game.
It tries to be roughly compatible with the Collaborative Software Design implementation.
Behind the scenes, it uses `WebSocket`_ for communication between client and server.

Client Usage
------------

The entire client functionality is encapsulated by ``battleship_mp.client.GameSession``.
This allows to join a game, transmit a board of set ships, and exchange shots.
Note that the server does **not** perform any notable game state evaluation;
multiplayer peers **must** exchange their game state (notably, their entire game board)
to locally check the game progress.
See the class' description on how to use it.

Set the environment variable ``BMP_SERVER_URL`` to the server's websocket URL.
For example, if the server runs locally on port ``8765``
then use ``BMP_SERVER_URL="ws://localhost:8765"`` before starting the program.
Alternatively, this can also be set inside Python by using
``os.environ["BMP_SERVER_URL"] = "ws://localhost:8765"``.

Server Usage
------------

The server is self-contained and does not need to be embedded in a program.
It can be run directly from the command line, requiring a port and optionally
the addresses/hostnames to bind to.
For testing, it is suitable to bind to ``localhost``:

.. code:: bash

    ~ $ python3 -m battleship_mp.server 8765 localhost

See the ``--help`` flag for options.

Installation
------------

You can install the package directly via ``pip``;
only Python >= 3.8 is required.

.. code:: bash

    ~ $ python3 -m pip install kcsd-battleship-mp

.. _WebSocket: https://en.wikipedia.org/wiki/WebSocket
.. _venv: https://docs.python.org/3/library/venv.html
iosslsniffer 0.0.2
Sniffer for encrypted traffic
Requires Python: >=3.8
Keywords: ios,jailbreak,ssl,sniffer,tls,cli,automation

# Description

**Utility for sniffing SSL/TLS encrypted traffic on a jailbroken iOS device.**

`CFNetwork.framework` contains a debug/verbosity global, enforcing a dump of every packet transferred through it, to be
logged into device syslog in plaintext form. In order to have a nicer view with clean control flow of this traffic, we
attach each such packet appropriate TCP flags and write it back into a PCAP file.

This allows us to later dissect this traffic using popular and convenient tools (e.g. Wireshark 🦈).
Assuming you have a jailbroken iOS device, this Python3 tool can automate this process.

# Installation

```shell
python3 -m pip install -U iosslsniffer
```

# Prerequisites

## Enable logging global

This package relies on the ability to modify Apples logging global, Thus requires a jailbroken device.
In addition, a global preference key is need to set `AppleCFNetworkDiagnosticLogging`.

### Howto

- Download and install [`rpc_server`](https://rpc-project.readthedocs.io/en/latest/getting_started/installation.html) on
  a jailbroken device.
- Setting logging global, this can be done manually or using the integrated `rpc_client` in the sniffer.
  - To use integrated `rpc_client` just provide the `rpc_server` port:
      ```shell
      python3 -m iosslsniffer setup -p 5910
      python3 -m iosslsniffer sniff
      ```
  - Manually connect to `rpc_server`:
    - Set `AppleCFNetworkDiagnosticLogging` to 3 (restart required)
    - Execute `p.syslog.set_harlogger_for_all(True)`
      ```shell
      user@Users-Mac-mini-7 ~/ @ rpcclient 127.0.0.1
      Welcome to the rpcclient interactive shell! You interactive shell for controlling the remote rpcserver.
      Feel free to use the following globals:
  
      🌍 p - the injected process
      🌍 symbols - process global symbols
  
      Have a nice flight ✈️!
      Starting an IPython shell... 🐍
  
      In [1]: pref = p.preferences.sc.open('/private/var/Managed Preferences/mobile/.GlobalPreferences.plist')
      In [2]: pref.set('AppleCFNetworkDiagnosticLogging',3)
      
      restart.........
      
      In [1]: p.syslog.set_harlogger_for_all(True)
      ```

## CFNetworkDiagnostics

In order to enable `CFNetworkDiagnostics` the key `AppleCFNetworkDiagnosticLogging` needs to be set, this is done as
part of `iosslsniffer setup` command.
A restart is required incase the key was not set.

# Usage

```shell
Usage: python -m iosslsniffer [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  setup  Setup all prerequisites required inorder to sniff the SSL traffic
  sniff  Sniff the traffic
```
hund 0.1.2
Implement a function that applies Hund's rules to a given electronic (atomic) configuration.
Requires Python: >=3.7

hund
====

Implement Hund's rules in Python.



Copyright notice
----------------

Copyright (C) 2013-2023 Daniel Jung.
Contact: proggy-contact@mailbox.org

This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option)
any later version.

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.