semvec/pypi-packages huggingface dataset:
padlock-env 0.1.0
Awesome padlock_env created by cyprienc

# Padlock Gymnasium Env

Padlock Gymnasium Env is a simple gymnasium environment that models a padlock with 4 discs, each with 4 symbols. The agent's goal is to find the secret combination of symbols to unlock the padlock.

The action space is a MultiDiscrete space with 2 dimensions, representing the selected disc and symbol. The observation space is a Box space of shape (4, 2) representing the current combination and a valid mask, where the valid mask is a binary array of shape (4,), with 1 indicating that the corresponding symbol in the current combination is correct and 0 indicating otherwise.

## Install it from PyPI

```bash
pip install padlock_env
```

## Install it locally

```bash
pip install -e .
```

## Usage

Here's an example of how to use the environment:

```python
import gymnasium
import padlock_env

env = gymnasium.make("PadlockEnv-v0")
observations, _ = env.reset()

done = False
while not done:
    action = env.action_space.sample()
    observations, reward, done, _, _ = env.step(action)
    print(f"Observations: {observations}, Reward: {reward}, Done: {done}")
```

## Development

Read the [CONTRIBUTING.md](CONTRIBUTING.md) file.
locate-system-path 0.0.0
This package makes a sys.path.append to run python files from console.
Requires Python: >=3.7

# Path Locator

This package that allows you to do an sys.path.append one level above the repository for find the modules correctly when you run a python file from console.

## Installation

Install ```sys-path-locator``` package with pip.


```bash
  pip install sys-path-locator
```
    
## Authors

- [@tmorales](https://github.com/moralesveratom)


## Contributing

Contributions are always welcome!

See `contributing.md` for ways to get started.

Please adhere to this project's `code of conduct`.


## License used

[MIT](https://choosealicense.com/licenses/mit/)


## Support

For support, email me moralesveratomas@gmail.com


## Feedback

If you have any feedback, please reach out to me at moralesveratomas@gmail.com


## FAQ

#### What Python version is necessary?

To develop this solution I used the Python 3.10 version.

#### What pip version is necessary to install the package?

Make sure you're using the latest version.

Run ```pip install --upgrade pip``` from console.