A Python package for Dam, Dictor, and ScreenOpp utilities
Project description
norTools
norTools is a Python package that provides utilities for handling operations with arguments, dictionaries, and displaying data on a graphical screen using Flet.
Features
- Dam Class: Perform operations with arguments and extra values.
- Dictor Class: A dynamic dictionary-like structure with nested capabilities.
- ScreenOpp Class: Display data on a graphical screen using Flet.
Installation
Install Locally
To install the package locally, navigate to the project directory and run:
pip install .
Install from PyPI (if published)
To install the package from PyPI:
pip install norTools
Usage
1. Dam Class
Perform operations with arguments and extra values.
from norTools import Dam
dam_instance = Dam()
result = dam_instance.opp("example", extra=42)
print(result) # Output: 42
2. Dictor Class
A dynamic dictionary-like structure.
from norTools import Dictor
dictor_instance = Dictor()
dictor_instance["key"] = "value"
print(dictor_instance["key"]) # Output: value
3. ScreenOpp Class
Display data on a graphical screen.
from norTools import ScreenOpp
screen = ScreenOpp(name="Example Name", datas_="Example Data", page="Example Page")
screen.display()
Dependencies
- Flet: Used for graphical screen rendering.
- Python 3.6 or higher
Install dependencies using:
pip install -r requirements.txt
Development
Setting Up the Project
- Clone the repository:
git clone https://github.com/yourusername/norTools.git
- Navigate to the project directory:
cd norTools
- Install the package locally:
pip install .
Running Tests
Add your test scripts and run them using:
python -m unittest discover
Documentation
To generate documentation using Sphinx:
- Navigate to the
docsfolder:cd docs
- Build the documentation:
sphinx-build -b html . _build/html
- Open
_build/html/index.htmlin your browser.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Author
Syed
Feel free to contribute to this project by submitting issues or pull requests!
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nortools-1.2.0.tar.gz.
File metadata
- Download URL: nortools-1.2.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b6f1bcd77dab510f4e03be9cd52d601f21167db444bba15bd0133f6ce8f2e59
|
|
| MD5 |
1f45c42a954ea6eddb3ea72ec4c59263
|
|
| BLAKE2b-256 |
395c7d858199f1e35fb7efdd0253e9fed476c61cf6b279870883f85c1e45bf3c
|
File details
Details for the file nortools-1.2.0-py3-none-any.whl.
File metadata
- Download URL: nortools-1.2.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce7284968a6bca201a7fbfd197f9f0da52e81a3d411bf49b0a0255544468f126
|
|
| MD5 |
34a9525e5b583297a725355673f51085
|
|
| BLAKE2b-256 |
f6681ac7c8f8a391bd6dbe5895edf466aaf9a57d8259966e2385fdc2d4d01dfc
|