Skip to main content

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

  1. Clone the repository:
    git clone https://github.com/yourusername/norTools.git
    
  2. Navigate to the project directory:
    cd norTools
    
  3. 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:

  1. Navigate to the docs folder:
    cd docs
    
  2. Build the documentation:
    sphinx-build -b html . _build/html
    
  3. Open _build/html/index.html in 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

nortools-1.2.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

nortools-1.2.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file nortools-1.2.1.tar.gz.

File metadata

  • Download URL: nortools-1.2.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for nortools-1.2.1.tar.gz
Algorithm Hash digest
SHA256 75f5366f0eca03352b75c0ba85d2574afba91e0ccdc409ae89a9cb97fa0e2a90
MD5 545f4c385258520b0684420548dd3003
BLAKE2b-256 21fb2cc3635e965988c91540303b0521d8fe3d98bb199c5205bade25e5040e96

See more details on using hashes here.

File details

Details for the file nortools-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: nortools-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for nortools-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 48d87dffff5531cb33800dd6b9ac379f31d7f8b196874f555dc7b61f732bbfda
MD5 abf834881e1d2090fb1a89736293d20c
BLAKE2b-256 1c43c2c13e038f97577da4f2668e7ef95f09c638e8cdbd0e424a9911c087e292

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