semvec/pypi-packages huggingface dataset:
gopyhash 1.0.1
A package for password hashing and comparision using bcrypt
License: MIT
Requires Python: >=3.10
Keywords: bcrypt, security, password, text, hashing

![pipeline](https://github.com/ihumaunkabir/gopyhash/actions/workflows/publish.yml/badge.svg)

# gopyhash

A package for password hashing and comparision using bcrypt. 

## Installation

```bash
pip install gopyhash
```
#### Golang Installation
Documentation here [go-hash](https://github.com/ihumaunkabir/go-hash/blob/master/README.md)

## Usage

```python
from gopyhash import generate_hash_from_text, compare_hash_and_text

# Generate a hash from a plain text (password)
password = "my_secure_password"
hashed_password = generate_hash_from_text(password)

# Compare and verify a plain text (password) and a generated hash
is_valid = compare_hash_and_text(hashed_password, "my_secure_password/others")
if is_valid:
    print("Password is correct!")
else:
    print("Password is incorrect!")
```

## Features

- Simple API for hashing passwords using bcrypt
- Verify passwords against existing hashes

## License

MIT License
mdextractor 2025.4.231259
Extract Markdown code blocks from text strings.
License: MIT
Requires Python: >=3.6

[![PyPI version](https://badge.fury.io/py/mdextractor.svg)](https://badge.fury.io/py/mdextractor)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![Downloads](https://static.pepy.tech/badge/mdextractor)](https://pepy.tech/project/mdextractor)
[![LinkedIn](https://img.shields.io/badge/LinkedIn-blue)](https://www.linkedin.com/in/eugene-evstafev-716669181/)

# mdextractor

`mdextractor` is a Python package designed for extracting code blocks from Markdown text. It efficiently identifies blocks enclosed in triple backticks (\`\`\`), optionally preceded by language identifiers, and extracts their contents.

## Installation

To install `mdextractor`, use pip:

```bash
pip install mdextractor
```

## Usage

Using `mdextractor` is straightforward. Here's an example:

```python
from mdextractor import extract_md_blocks

text = """
\`\`\`python
print("Hello, Markdown!")
\`\`\`
"""

blocks = extract_md_blocks(text)
print(blocks)
# Output: ['print("Hello, Markdown!")']
```

This package is useful in various applications where extracting code or preformatted text from Markdown is necessary.

## Features

- Efficient extraction of Markdown code blocks.
- Supports language specifiers following the opening backticks.
- Works with multi-line and single-line code blocks.
- Simple API with a single function call.

## Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://github.com/chigwell/mdextractor/issues).

## License

`mdextractor` is licensed under the [MIT License](https://choosealicense.com/licenses/mit/).