semvec/pypi-packages huggingface dataset:
first-shell 0.0.1
The first shell for every littel nerd
Requires Python: >=3.7

# first-shell

[![Docs](https://img.shields.io/badge/docs-mkdocs-green)](https://15r10nk.github.io/first-shell/)
[![pypi version](https://img.shields.io/pypi/v/first-shell.svg)](https://pypi.org/project/first-shell/)
![Python Versions](https://img.shields.io/pypi/pyversions/first-shell)
![PyPI - Downloads](https://img.shields.io/pypi/dw/first-shell)
[![GitHub Sponsors](https://img.shields.io/github/sponsors/15r10nk)](https://github.com/sponsors/15r10nk)

-----

Hi, I wrote the following shell for my 4 year old daughter, because she wants to do the same things like her dad. 


## Installation

```console
pip install first-shell
```

simpleaudio requires libasound:
``` console
apt-get install libasound2-dev
```

## Usage

Run first-shell with `first-shell`

It reads every character/word/line the user writes into the prompt.

Games:

- **xmas**: guess words and keep the lights on

![xmas](xmas.png)

## TODO

- [ ] testing
- [ ] i18n support
- [ ] custom config file with words
- [ ] more games & features


## License

`first-shell` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
simpliqm 1.0.0
A powerful tool for minimizing Boolean functions
Requires Python: >=3.6

# QuineMcCluskey

### Table of Contents
**[Introduction](#introduction)**<br>
**[Requirements](#requirements)**<br>
**[Usage](#usage)**<br>
**[Resources](#resources)**<br>
**[License](#license)**<br>

### Quine–McCluskey Algorithm Python Library

Welcome to the Quine–McCluskey Python library – a powerful tool for minimizing Boolean functions with ease!
Developed by Willard V. Quine and extended by Edward J. McCluskey, this algorithm is your go-to method for
simplifying Boolean expressions efficiently.

### Installation

Now you can install the Quine–McCluskey Python library using `pip`. Just run the following command:

```bash
pip install simpliqm
```

### Getting Started

Once installed, you can leverage the library's public API directly from Python. Two essential functions are at
your disposal:

1. **`minimize`**: Minimize Boolean functions with the provided minterms and optional don't care terms.
2. **`format_minimized_expression`**: Format the minimized expression for clearer representation.

### Command Line Interface

Additionally, the library provides a convenient command-line interface. After installation, you can use the
'qm' entry point directly from the terminal:

```bash
qm
```

### Requirements

Ensure you have Python version 3.6 or higher installed to use this library.

### Usage

#### From Python:

```python
from simpliqm import minimize, format_minimized_expression

n_bits = 4
minterms = [0, 1, 2, 4, 8, 10, 12, 15]
xterms = [5, 6]

minimized_result = minimize(n_bits, minterms, xterms)
formatted_result = format_minimized_expression(minimized_result)

print(f"Minimized Expression: {formatted_result}")
```

#### From the Terminal:

```bash
qm
```

Follow the prompts to input your Boolean function details.

![Minimization Gif](https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExZ2JheWlrcWpmdDNqMnNsdThuc2t1eGVxZ25qN2Z1bGJjdHppZnR6MSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/DFDib94LuHfto0PREA/giphy.gif)

### Resources

* [Quine McCluskey Algorithm Wikipedia](https://en.wikipedia.org/wiki/Quine%E2%80%93McCluskey_algorithm)
* [Boolean Algebra](https://en.wikipedia.org/wiki/Boolean_algebra)

### License

This project is licensed under the [GNU General Public License v3.0](https://github.com/djcopley/QuineMcCluskey/blob/master/LICENSE).
adj-dataparrots-2 0.0.3
A small example package
Requires Python: >=3.6


Copyright (c) 2021 The Python Packaging Authority
 
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
 
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
 
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
endpointsorter 1.1.3
A sorter tool for endpoints

Url Endpoint Sorter
===================

This Python script is designed to sort and extract unique URL prefixes from a given input file. It can be particularly useful for analyzing and organizing a list of URLs based on their common prefixes.

Usage
-----

### Prerequisites

*   Python 3.x

### Installing the Tool

To use the tool, Install via pip:

    pip install endpointsorter

### Running the Script

To use the script, follow these steps:

    endpointsorter -i input_file.txt -o output_file.txt

Replace `script_name.py` with the actual name of the script, `input_file.txt` with the path to your input file containing URLs, and `output_file.txt` with the desired output file path.

### Command-Line Options

*   `-i, --input`: Specify the input file containing URLs. This option is **required**.
*   `-o, --output`: Specify the output file where sorted URL prefixes will be saved. This option is **required**.

Example
-------

    endpointsorter -i input.txt -o output.txt

Description
-----------

The script utilizes regular expressions to extract URLs from the input file and then sorts and extracts unique prefixes. The sorted prefixes are saved to the specified output file. This can be helpful for understanding the structure and organization of URLs in a given dataset.

Error Handling
--------------

The script includes basic error handling to manage interruptions and unexpected errors during execution. If an error occurs, an error message is displayed, and the script exits with an error code.

Author
------

Praveen

Feel free to modify and enhance this script according to your specific requirements. If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.
bencode-python 0.0.2
Bencode encoder and decoder written in python.
Keywords: bencode,beecode,torrent,bittorrent

# Bencode
Bencode encoder and decoder written in python.

## Installation
```bash
pip install bencode-python
```

## Usage

### Decoder
Decoding bencode data.
```py
from bencode.decoder import Decoder

decoder = Decoder()
decoded = decoder.decode(b"i42e")
print(decoded) # 42
```

### Encoder
Encoding Python data types into bencode format.
```py
from bencode.encoder import Encoder

encoder = Encoder()
encoded = encoder.encode(42)
print(encoded) # b'i42e'
```

# License
Licensed under the MIT License.
PyKTL 0.3.8
This library provides utility methods to generate and sign Knox Cloud Tokens using python.
Requires Python: >=3.8

[![BuildStatus](https://github.com/mattintech/PyKTL/workflows/CI/badge.svg)](https://github.com/mattintech/PyKTL/actions/workflows/auto-build-publish.yml)
[![PyPI Version](https://img.shields.io/pypi/v/PyKTL.svg)](https://pypi.org/project/PyKTL/)
[![Active branch](https://img.shields.io/badge/branch-master-lightgrey.svg)](https://github.com/mattintech/PyKTL/tree/master/)

<div style="text-align: right"> 
    <a href="https://www.buymeacoffee.com/mattintech" target="_blank">
    <img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>
</div>


# KnoxTokenLibrary-Python ('PyKTL')

**This is not an offical Samsung library or repository**

pyktl is a python rewrite of the knox-token-library-js library written by Samsung.  The following code was used to build this project. https://www.npmjs.com/package/knox-token-library-js?activeTab=readme

## Usage

Install using: 
```
pip install PyKTL
```

### Assumptions 
 - You have downloaded the Knox Certificate file (certificate.json)
 - You have generated a Client Identifier (api-key) for accessing apis of Knox Cloud Services.

### Intended Use
The workflow for making api calls to Knox Cloud Services is divided into a portal workflow, and a programmatic workflow.

#### Portal flow

 - Download Certificate from Knox Api Portal
 - Generate and Download ClientIdentifier (api-key) for a specific Knox Solution

#### Programmatic flow

 - Call Knox api to generate an Api Access Token. This api call requires a signed ClientIdentifier, and specific contents of your Certificate (Public Key).
 - Call Knox api for your intended workflow (eg: upload device, configure device etc). This api call requires your signed Api Access Token, and specific contents of your Certificate (Public Key).

 - This utility py library helps generate signed clientIdentifiers, and signed accessTokens.

## Examples
Leverage examples from [here](https://github.com/mattintech/KnoxCloudService-Python).

The example leverages a keys.json which is obtained using the SamsungKnox.com portal - view the Samsung tutorial for more details. 
The example also leverages clientId.json which includes the clientIds 

```
{
    "kme": "",
    "kc": "",
    "ke1": "",
    "kai": ""
}
```
You can also reference Samsung's authentication tutorail found here: https://docs.samsungknox.com/dev/knox-cloud-authentication/tutorial/tutorial-for-customers-generate-access-token/. 
I did attempt to keep only required method names, so not all methods found in the nodejs/java/NuGet package will be available in PyKTL.


## Local Build & Install
In order to build and install pyktl locally you can run the following commands:

```
python setup.py sdist
pip install .
```

## KDP API Support
While no testing was done using the PyKTL and the Knox Deployment Program API - it is believed it should still work.  Authentication between the KCS APIs and KCS APIs appears to be the same.
neets 0.0.4
CLI to interact with the neets.ai API
Requires Python: >=3.8

# Neets API CLI 
CLI to interact with the [neets.ai](https://neets.ai/) Text To Speech 
and completions API. 

## Installation

```bash
pip install neets
```
A neets.ai API key must be set as an environment variable. 

```bash
export NEETS_API_KEY=<your api key>
```

## Completions 

Use the `chat` command to generate completions. 

```bash
neets chat --prompt "How soon will I be unemployed?" 
```

By default, the `chat` command will use the `Neets-7B` model.
you can specify a different model with the `--model` flag. 

```bash
neets chat --prompt "why is the sky blue?" --model "mistralai/Mixtral-8X7B-Instruct-v0.1"
```

## Text To Speech

Use the `tts` command to generate audio from text. 

```bash
neets tts --voice "mark-zuckerberg" --text "I'm out here smoking some meats"
```
- To get a list of available voices, use the `voices` command. 
- To specify an output file, use the `--output-file` flag. 
- To specify the output format, use the `--output-fmt`
- The default output file is `[voice]_uuid.[output-fmt]` in the current directory.
- The default output format is `wav`
Pydule 3.4.1
Access ChatGPT, Remove Background, AI Generated Image, Track Location, Play Songs, Create Qrcode, Copy Text, Translate a Sentence to Other Language and more..
Requires Python: >=3.10.7
Keywords: python,PyDule,Module,Pydule,pydule,matrix,qrcode,youtube,weather,list,tuple,set,dictionary,clear,color,pick_color,open,app,search,play,mp3,song,restart,system,shutdown,date,time,text_to_speech,text,speech

# Pydule-TM                
[![Python 3.10](https://img.shields.io/badge/python-3.10.7-blue.svg)](https://www.python.org/downloads/release/python-360/)   

## Functionality of the Module

- Get Battery Percentage
- Access ChatGPT
- Get Any Website HTML
- Encrypt and Decrypt a String
- Record Screen,Internal Audio and Microphone
- Seperate String
- Insert Elements in Tuple & String
- Check Internet Download and Upload Speed
- Generate Qrcode
- Print Emoji
- Copy Text
- Language Translation
- Edit JSON Files
- Replace Letters in String
- Check Weather of any City
- Open any File
- Play Songs
- Get Hex of any Color
- Convert Text to Speech
- Convert Speech to Text
- Restart and Shutdown Your System
- Search on Browser
- +50 more Functions

## Usage

- Make sure you have Python installed in your system.
- Run Following command in the CMD.
 ```
  pip install Pydule
  ```
## Example

 ```
# test.py
import Pydule as py

# to Find the Remaining Battery Percentage
battery=py.aboutbattery('percentage')
print(battery)

# to Search 
py.search('Youtube')

# to Get Any Website HTML
html=py.GetWebHTML('URL')
print(html)

# to Create Qrcode
text,filename='Hello World','Hello.png'
py.cqrcode(text,filename)

# to get the Location of the Selected File
path=py.askfile()
print(path)

# to Get all Available Functions
py.functions() 

# to Open Calculator
py.openapp('calculator')

# to Copy Text
py.copytext('Hello World')

# to play mp3
py.playmusic('PATH')

# to Access ChatGPT
from Pydule import AI
print(AI.ChatGPT('Hi There','Your API Key'))

# to Track the Location
print(py.TrackLocation('Your Phone Number')) #Example +911234567890
  ```