semvec/pypi-packages huggingface dataset:
layoutx 1.2
Declarative tkinter layout engine with reactive data binding

# Declarative tkinter UI with reactive data binding

![Banner](src-docs/img/Banner_no_bg.png)

# Features
- Drag and Drop support (tkDnD)
- Supports async by default (powered by asyncio)
- Two-way data binding
- Flexible layout by design
- Application scrolls automatically
- Simple layout syntax powered by Pug (former Jade)
- Widget parameter support inline python scripting
- ttk themes included
- Lightweight and fast
- Add any custom tkinter widget

![Designer](src-docs/img/designer.GIF)

# Installation
Make sure your python installation is 3.7 or higher.

You need the tk extension **tkDnD** for this framework. 
This can be automatically installed via pip argument. Make sure the python directory is writable (e.g. on Mac OSX, Python library are installed to /System/Library, which cannot be modified, even with sudo!).

```pip install layoutx``` (minimal version)

```pip install layoutx[more_widgets, styles]``` (full version)

```python -m layoutx.install_tkdnd``` (install tkdnd)

The command line tool: `lxdesigner` can be used to easily design some forms.

For lxdesigner to function, you need to install addon **more widgets**.

# Addons
Some dependencies of this project have a GPL v3 license. They are excluded into separate addons.
Please note by installing these dependencies, you confirm to the GPL license agreement.

This project itself is licensed under MIT.

## more widgets:
More information see: [ttkwidgets Github](https://github.com/TkinterEP/ttkwidgets/)

 - Input
 - ComboBox
 - TextArea
 - Scale

```pip install layoutx[more_widgets]```

## ttk themes:
More information see: [ttkthemes Github](https://github.com/TkinterEP/ttkthemes)

```pip install layoutx[styles]```

# Getting started

``` python
from layoutx        import app # Import the app singleton
from layoutx.store  import create_store
from layoutx.view   import View, ResizeOption

store = create_store({}, { "name": "World" })

class RootView(View):
  geometry = "250x50+100+100"
  title = "My first app"
  resizable = ResizeOption.NONE
  template = """\
ScrollFrame
  Box(orient="horizontal")
    Label Hello
    Input(value="{{name}}")
  Button(command="{say_my_name}") Say my name!
"""
  def say_my_name(self):
    print(self.store.state["name"])

if __name__ == "__main__":
  app.setup(store=store, rootView=RootView)
  app.run()
```

![Getting Started](src-docs/img/index/getting-started.png)

# Documentation

Read the [documentation](https://bomberus.gitlab.io/LayoutX/) for more information.
camembert-bri 0.0.2
Python interface to BRI (Bam Read Index)
Keywords: bri samtools htslib read index

![Python package](https://github.com/usajusaj/camembertpy/workflows/Python%20package/badge.svg)
![Python package build and publish](https://github.com/usajusaj/camembertpy/workflows/Python%20package%20build%20and%20publish/badge.svg)
# camembertpy

Cython wrapper for https://github.com/jts/bri with pysam integration.

# Installation
## From pip repository
```bash
pip install camembert-bri
```
## From source
### conda approach (recommended)
```bash
conda env create -f environment.yml
conda activate camembert
python setup.py install
```
### pip approach
```bash
# optional virtualenv:
virtualenv camembert
source camembert/bin/activate

# Installation
pip install -r requirements.txt
python setup.py install
```

# Examples
## API
### build read index
```python
from camembert import Bri
b = Bri(bam_file)
b.create()
```

### retrieve reads
```python
from camembert import Bri
b = Bri(bam_file)
b.load()
for read in b.get(read_name):
    print(read.to_string())  # read is of type pysam.AligmentSegment
```
## CLI
A command line interface is included and mimics the original bri CLI command. For usage, refer to
```bash
camembert --help
camembert <subcommand> --help
```

### build read index
```bash
camembert index bam_file.bam
```

### retrieve reads
```bash
camembert get bam_file.bam read_name
```
prioQbyrobi 2.0.6
A package for priority queue to make A* Search
Requires Python: >=3.6

# Priority Queue For A* Search
Anyone of you can use this package to handle the priority Queue part of your A* Search code.
[Github Open Source](https://github.com/Mrrobi/prioQ)

## using process
### First need to add the library

```python
pip install prioQbyrobi
```

### Then you need to import the A* Search specific queue from the library
```python
import prioQbyrobi as Q

minQ = Q.PriorityQueue() #Creating an object of PriorityQueue class of the library
minQ.insert(yournodeObj) #inserting your node object into the Queue
minQ.delete() # popping your node object from the priority queue

```

##Existing methods
* insert() - insert node object.
* delete() - pop min element and return it.
* isEmpty() - return true if queue is empty.
* size() - it returns length of the queue.

## N.B: You must need to declare a variable name "total_cost" the priority is prioritized based on this