semvec/pypi-packages huggingface dataset:
dtweb 0.0.1
Python library for accessing the Digital Twin Web
License: MIT
Requires Python: >=3.8

# DTWeb-python
Python library for accessing the Digital Twin Web


| :exclamation: Alpha release :exclamation: |
|:------------------------------------------|
|*0.0.x denotes an alpha phase release. Anything may change in future releases without notice.* |


## Install

```sh
# Create and activate virtual environment (recommended)
python3 -m venv env
source env/bin/activate

# Install with pip
pip install dtweb
```

> To deactivate virtual environment:
> ```sh
> deactivate
> ```

## Usage

```python
import dtweb

dtweb.client.fetch_host_url('<DTID>')

dtweb.client.fetch_dt_doc('<DTID>')
```

### Usage example:
```python
import dtweb

# Fetch and pring hosting URL from DTID of Ilmatar crane
crane_hosturl = dtweb.client.fetch_host_url('http://d-t.fi/konecranes-K16052')
print(crane_hosturl)

# Fetch and pring DT document from DTID of Ilmatar crane
crane_doc = dtweb.client.fetch_dt_doc('http://d-t.fi/konecranes-K16052')
print(crane_doc)
```

## Development instructions

<details>
<summary>Click to show</summary>

OS: Ubuntu 20.04 WSL (Ubuntu 20.04.1 LTS (GNU/Linux 4.4.0-18362-Microsoft x86_64))

### Setup new computer

> Hint: You can just copy and paste this whole code block to terminal. Dirty but works.

```sh
# Clone repository
git clone https://github.com/juusoautiosalo/dtweb-python.git

# Change directory
cd dtweb-python

# Create virtual environment (recommended)
python3 -m venv env

# Activate virtual environment (recommended)
source env/bin/activate

# Install python package builder
pip install build

# Build the dtweb package
python3 -m build

# Uninstall earlier installation (required if earlier install with same/higher version number exists)
pip uninstall dtweb

# Install package (edit version number if needed)
pip install dist/dtweb-0.0.1-py3-none-any.whl

# Show library info (optional)
pip show dtweb
```

### Uploading to TestPyPI

```sh
# Install twine
pip install twine

# Upload to test repository (You will need TestPyPI credentials for this)
twine upload --repository testpypi dist/*
```

### Install from TestPyPI

```sh
pip install -i https://test.pypi.org/simple/ dtweb
```

</details>
tkinterwidgets 0.0.3
Tkinter Custom Widgets
License: MIT
Requires Python: >=3.0

# Tkinter Custom Widgets

This package contains custom `tkinter` widgets that might be useful.

## Installation

```shell
pip install tkinterwidgets
``` 

## Widgets

* [Label](#label)

***

* ### Label

  #### Features
  * Transparent background
  * Control opacity

  #### Usage 
  ```
  tkinterwidgets.Label(master, OPTIONS)
  ```
  
  Options
  * All the options of native `tkinter` `Label` except `bg`/`background` since the background is transparent.
  * `opacity` - Used to specify the opacity of the contents on a scale of `0` to `1` (where `0` implies transparent and `1` implies opaque). The default is set to `1`.
  * `transcolor` - Used to specify the color to be used to create the transparency effect (you can imagine this as a green screen but of the specified color, make sure that the visible contents of the label do not have this color). The default is set to `SystemButtonFace` .

  Methods
  * The following have the same use as that of the corresponding methods in native `tkinter` widgets
    * `pack`
    * `pack_forget` 
    *  `config`/`configure` 
    * `destroy` 

  #### Current Limitations / Issues
  * Only `pack` geometry manager can be used.
  * Can not be treated as a `window` in `Canvas.create_window()` or `Text.window_create()` or any similar usage.
  * Label might move outside the window when resizing past it in some cases.

  #### Sample Code
  ```python
  from tkinter import *
  import tkinterwidgets as tkw 

  root=Tk()
  root.config(bg='yellow')

  label=Label(root,text='Default Label')
  label.pack()

  trans_label=tkw.Label(root,text='tkinterwidgets Label',opacity=0.7)
  trans_label.pack(pady=10)

  root.mainloop()
  ```
pyalgo-lib 0.1.2
Library for algorithm implementations in python
License: MIT

# PyAlgo

[![Build Status](https://travis-ci.com/Devansh3712/PyAlgo.svg?branch=main)](https://travis-ci.com/Devansh3712/PyAlgo)
[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)
[![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
[![Documentation Status](https://readthedocs.org/projects/pyalgo/badge/?version=latest)](https://pyalgo.readthedocs.io/en/latest/?badge=latest)

Library for Algorithms in Python