Skip to main content

BHH

Project description

BHH - A Library for You

Version: 0.5.0

Changes in this version:

Commands were modularized.

File handling capabilities have been added.

The ability to reverse text has been removed.

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

  • Pillow >= 10.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.0.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.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bhh-0.5.0.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.0.tar.gz
Algorithm Hash digest
SHA256 d4d4cdcc86a646822d41323dd23cdee50daa8bdf7e2acda9f797846f7d4d7e70
MD5 51a46244b0763f4210ba8138b8da7980
BLAKE2b-256 92625aab19ac4d2f24db87980cb21a110338efa6f71bb44d274b5bb75f176a4f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bhh-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11d3af8ec81164897e70432c2d09fdfb87e45c0942702e8c5b2780f6a204a58d
MD5 592d3ef5a9544a1413a115d63b1fea24
BLAKE2b-256 88188aff97704745ea987e450f596994cd79269fe4950fe45d64d97d1aa9b048

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