Skip to main content

BHH

Project description

BHH - A Library for You

Version: 0.5.1

Changes in this version:

  • Fixed a bugs

Developer: Aria

PyPI Page


License

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

License:

BHAP License (c) 2025 Aria

This license allows you to:
- Modify the code
- Redistribute it
- Publish it
- Use the hashing formula or other formulas from this project in your own projects

Conditions for redistribution and release:
1. Your name must be included in the redistributed version.
2. The BHAP License must be included with the project.
3. The project must remain open-source.

This software is provided "as is", without any warranty of any kind. The author shall not be held
liable for any damages arising from the use of this software.

Features:

🔒 Hash your passwords with both random and chosen salts

🌐 Add a search engine to your app

🌐 Bind ports to serve static files with a simple HTTP server

💻 Install libraries from PyPI

📄 Work with files


Usage:

BHH is a Python toolbox for you. Instead of writing 25 lines of code, you can do it with 1 line. You can use this package as a web server, make your simple games easier, and ...... Other features are mentioned in the Features section ☝️


Installation:

pip install bhh 

Requirements

  • requests >= 2.0.0

How it works

  1. Open your Windows Powershell or Command Prompt

  2. type

pip install bhh
  1. Open your Python IDE or Python Terminal

  2. type

import afile
import ahash
import anet
  1. Now you can use any of the following commands as you wish:
#hash password
hash1 = print(ahash.hash_password("your password"))
print(hash1)

hash2 = print(ahash.hash_password_with_salt("your password", b"your salt"))
print(hash2)

#verify password
print(ahash.verify_password("your password", hash2)) # True or False

#install package
print(anet.install_from_pypi("package name"))

#search web
number_of_outputs = 15
print(anet.search_web("your search", "YOUR_BING_API_KEY", number_of_outputs))

#bind port
port = 1234
print(anet.apos("service path", port, "ip", "homepage"))

#working with files
afile.open_file("path")
afile.delete_file("path")
afile.rename_file("old path", "new path")
afile.write_text("path", "text")
afile.read_text("path")
afile.write_json("path", "data")
afile.read_json("path")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bhh-0.5.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bhh-0.5.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file bhh-0.5.1.tar.gz.

File metadata

  • Download URL: bhh-0.5.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for bhh-0.5.1.tar.gz
Algorithm Hash digest
SHA256 a2b548676ecb0e0f2da328f2da70aeb7b98b1495459b660a78902ac618dd77cd
MD5 ee5b20799d74b4d600726f51f58cb4c1
BLAKE2b-256 6a5ae261fc8a0ec24c0a4a7fd91aa37502d286582d3af8d253ce8a4e501fb5da

See more details on using hashes here.

File details

Details for the file bhh-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: bhh-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for bhh-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 96d9804f1acf13fa479a03cde5b9a000e92c11859ed856a0f6bcf81b69ca0bb9
MD5 475cfa54aa6b903930e3c231ae83e69b
BLAKE2b-256 7d4d8c2d3814d98ccf4eb7bede0bd448ce3ae1fcca43ffcafd60b96370649475

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page