semvec/pypi-packages huggingface dataset:
pygolomb 0.1.1
A small Python library to test binary sequences with Golomb's randomness postulates.
Requires Python: <4.0,>=3.12

# PyGolomb

![PyPI - Version](https://img.shields.io/pypi/v/pygolomb)
![GitHub License](https://img.shields.io/github/license/alxwnth/pygolomb)
![GitHub Release](https://img.shields.io/github/v/release/alxwnth/pygolomb)

> A small Python library to test binary sequences with Golomb's randomness postulates.

## Installation

Python >=3.10 is required.

```
pip install pygolomb
```

## Developing

Create venv and install dependencies.

```
python3 -m venv .venv
. .venv/bin/activate
poetry install
```

## Testing

```
. .venv/bin/activate
pytest
```

To check test coverage:

```
pytest --cov=pygolomb tests/
```

## Roadmap

The overall code quality is largely at the same level it was back in 2018. This is to be improved in the future.

## GUI application

There are no plans to have a new GUI at the moment. The old Tkinter application remains in `gui` directory only for historic purposes.

## Contributing

Contributions are welcome. Please fork the project and use feature a feature branch. For bugs and suggestions, please open an issue.

## License

The project is licensed under the GNU Lesser General Public License. See [COPYING](/COPYING) for full terms.

## Acknowledgements

1. Menezes, A.J., Van Oorschot, P.C. and Vanstone, S.A. (2018) Handbook of Applied Cryptography. 1st edn. CRC Press. Available at: https://doi.org/10.1201/9780429466335.
2. Pinaki, M. (no date) ‘Golomb’s Randomness Postulates’. Available at: https://www.iitg.ac.in/pinaki/Golomb.pdf (Accessed: 8 May 2024).
lib-ml-team11 0.0.1
Contains the pre-processing logic for data that is used for training or queries.
Requires Python: <4.0,>=3.11

# lib-ml
Contains the pre-processing logic for data that is used for training or queries.

## Methods
- `fit_transform(train, test, val, sequence_length=200)`: Fits the tokenizer and encoder on the training data and transforms all datasets.
- `transform_input(url, sequence_length)`: Transforms new url data using the fitted tokenizer.
- `transform_labels(raw_y)`: Transforms new label data using the fitted encoder.
- `get_tokenizer()`: Returns the fitted tokenizer.
- `get_char_index()`: Returns the char index of the fitted tokenizer.
- `get_encoder()`: Returns the fitted encoder.
- `set_tokenizer(tokenizer)`: Sets the tokenizer to the provided tokenizer.
- `set_encoder(encoder)`: Sets the encoder to the provided encoder.

## Installation
```bash
pip install lib-ml-team11
```

## Usage
```python
from lib_ml_team11 import Preprocessing

# Create an instance of the Preprocessing class
preprocessing = Preprocessing()

...

# Transform the data
x_train, y_train, x_val, y_val, x_test, y_test = preprocessing.fit_transform(train, test, val, sequence_length=200)
```

## Releasing
Create a new git tag and push it to the repository. The CI/CD pipeline will automatically publish the new version to PyPi.

```bash
git tag v0.1.0
git push origin v0.1.0
```

Note: The version number should follow the semantic versioning format, i.e., `vX.Y.Z` where `X`, `Y`, and `Z` are non-negative integers. Note that the version number should be prefixed with a `v`.
diycrate 0.2.11.4a5
box.com for linux -- unofficial, based on python SDK
Requires Python: <4,>=3.6
Keywords: cloud, storage, box.com, sdk, linux, box

# diycrate
box.com for linux

[![Build](https://github.com/jheld/diycrate/workflows/Build/badge.svg)](https://github.com/jheld/diycrate/actions?query=workflow%3ABuild+branch%3Amaster)

## Installation on Ubuntu
```bash
sudo apt install libffi-dev libssl-dev python3-pip
# you may want to create a virtual environment
sudo python3 setup.py install
```
## Configuration

Installation will create an empty ~/.config/diycrate/box.ini
This file will be overwritten and will contain run time specific information!

## Self-signed Certificate

Currently, in order for your machine to operate as a listener/hook against the oauth2 process with Box, you will
have to run a webserver -- which we provide for you in this application, to handle all of that, automatically.

However, in order for your browser (and your sanity), you will want to create a certificate. When running on your
local  machine/localhost, you will need to create a self-signed certificate.

Let's Encrypt has a nice write-up on how to do that: https://letsencrypt.org/docs/certificates-for-localhost/#making-and-trusting-your-own-certificates


## Install Redis

This application requires the use of redis oauth2 credential "storage" as well as meta data for the caching & states
of files against box.

```bash
sudo apt install redis-server
```

## Run the app

Currently there is no default out-of-the-box working configuration file. This is partly due to currently (should the user not setup their own) using `diycrate.xyz` (I host it) for a part of the oauth2 dance. It isn't "hard" to setup your own, nor is it hard to use the "always running, you can plug into" mine, but it's not exactly documented.

```bash
diycrate_app --cacert_pem_path /path/to/cert.pem --privkey_pem_path /path/to/privkey.pem
```

Run `diycrate_app --help` for more CLI information