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.2.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.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nortools-1.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 c89e30f6981e8eca9fd116fdb5d7b31768ffca182a4cca9159e08de7acfc7941
MD5 64a2a5a9babe20c5dbc5c08ae5cf52f3
BLAKE2b-256 30c83dd63b01de61689874d5134b902b10227c90ef40ac3e274a9befdf842395

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nortools-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 3.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 afd986b670fa47324205a5a53fd20ccd25665696d9e76189eec6fba28b3f94d1
MD5 8f49d506d839be0e5d85c70067f9a6d8
BLAKE2b-256 cd07cbecc9f6b58c4cdc2c94ca35e961fbe056a0fd02a0f7126bc5a6d9e2c292

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