semvec/pypi-packages huggingface dataset:
dcvalidator 1.0.3
A simple Python package designed to showcase Dependency Confusion attacks.
Requires Python: >=3.6,<4.0

# DCValidator

`dcvalidator` is a Python package designed for educational purposes to showcase Dependency Confusion attacks. It is not intended for real-world use and should not be used in production systems.

## Installation

```bash
pip install dcvalidator
```

## Iran National Code Validation
The package provides a function is_nationalcode for validating Iran National Codes. The function takes a string representing the National Code and returns True if the code is valid and False otherwise.

Executing the `is_nationalcode` function in this package will simulate a Dependency Confusion attack for educational purposes. As part of this simulation, the code intentionally runs an OS command to obtain directory information.

**Please Note:**

- This simulated attack is for educational use only.
- Do not use this tool in a production environment.
- The project maintainers are not responsible for any misuse of this tool.

```py
from dcvalidator import is_nationalcode

# Validate Iran National Code
result = is_nationalcode('1234567890')

if result:
    print("Valid National Code")
else:
    print("Invalid National Code")
```

## Important Notes
- Educational Purpose Only: This project is meant for educational purposes and should not be used with malicious intent.

- Responsible Disclosure: If you discover any security vulnerabilities or potential risks, please follow responsible disclosure practices and report them to the maintainers.

## Contributing
Contributions are welcome! If you find issues or have improvements, feel free to open an issue or submit a pull request.

## License
This project is licensed under the MIT License - see the LICENSE file for details.
xtictoc 1.0.2
Welcome to Xtictoc, a simple console-based Tic-Tac-Toe (XO) game in Python.
Requires Python: >=3.6,<4.0

# Xtictoc (Tic-Tac-Toe) Game

Welcome to Xtictoc, a simple console-based Tic-Tac-Toe (XO) game in Python.

## Installation

You can install the game using `pip`:

```bash
pip install xtictoc
```

## How to Play

To start the game, open a terminal and run:

```bash
xtictoc
```

Follow the prompts to make your moves and enjoy playing Tic-Tac-Toe against a bot opponent.

## Development

If you'd like to contribute to the development of this game or explore the source code, feel free to check out the GitHub repository.

## License

This game is licensed under the MIT License - see the LICENSE file for details.
xvalidator 1.0.1
A simple Python package for validation
Requires Python: >=3.6,<4.0

# XValidator

`xvalidator` is a simple Python package for validation. It includes a module for validating Iran National Codes.

## Installation

You can install `xvalidator` using pip:

```bash
pip install xvalidator
```

## Iran National Code Validation
The package provides a function is_nationalcode for validating Iran National Codes. The function takes a string representing the National Code and returns True if the code is valid and False otherwise.

```py
from xvalidator import is_nationalcode

# Validate Iran National Code
result = is_nationalcode('1234567890')

if result:
    print("Valid National Code")
else:
    print("Invalid National Code")
```

## Contributing
Contributions are welcome! If you find issues or have improvements, feel free to open an issue or submit a pull request.

## License
This project is licensed under the MIT License - see the LICENSE file for details.