semvec/pypi-packages huggingface dataset:
ctk-listbox-typed 1.5.0
Customtkinter Listbox widget (with typing)
Requires Python: >=3.12

# CTkListbox
This is a **listbox widget** for customtkinter, works just like the tkinter listbox.

![Screenshot](https://github.com/Akascape/CTkListbox/assets/89206401/256c135f-3d6c-4daa-87a5-b4572a2c905f)

## Installation

> NOTE: This is a fork of the original CTkListbox library by Akascape, which fixes some bugs (that would otherwise cause the widget to be hardly usable), adds typing and a few other features.
```
pip install ctk_listbox
```
### [<img alt="GitHub repo size" src="https://img.shields.io/github/repo-size/Akascape/CTkListbox?&color=white&label=Download%20Source%20Code&logo=Python&logoColor=yellow&style=for-the-badge"  width="400">](https://github.com/Akascape/CTkListbox/archive/refs/heads/main.zip)

## Usage
```python
import customtkinter
from CTkListbox import *

def show_value(selected_option):
    print(selected_option)
    
root = customtkinter.CTk()

listbox = CTkListbox(root, command=show_value)
listbox.pack(fill="both", expand=True, padx=10, pady=10)

listbox.insert(0, "Option 0")
listbox.insert(1, "Option 1")
listbox.insert(2, "Option 2")
listbox.insert(3, "Option 3")
listbox.insert(4, "Option 4")
listbox.insert(5, "Option 5")
listbox.insert(6, "Option 6")
listbox.insert(7, "Option 7")
listbox.insert("END", "Option 8")

root.mainloop()
```
## Arguments
| Parameter | Description |
|-----------| ------------|
| **master** | parent widget  |
| width | **optional**, set width of the listbox |
| height | **optional**, set height of the listbox |
| fg_color | foreground color of the listbox |
| border_color | border color of the listbox frame |
| border_width | width of the border frame |
| text_color | set the color of the option text |
| hover_color | set hover color of the options |
| button_color | set color of unselected buttons |
| highlight_color | set the selected color of the option |
| font | set font of the option text |
| command | calls a command when a option is selected |
| multiple_selection | select multiple options in the listbox, `default=False`|
| listvariable | use a tkinter variable to change the listbox content |
| *other_parameters | _all other parameters of ctk_scrollable frame can be passed_ |

## Methods
- **.insert(index, option)**
   add new option to the listbox
- **.get()**
   get the selected option(s)
- **.delete(index)**
   delete any option from the listbox. `.delete("all")` deletes all options
- **.size()**
   get the size of the listbox
- **.activate(index)**
  activate any option
- **.deactivate(index)**
  deactivate any option
- **.curselection()**
  returns indexes of selected options
- **.configure()**
   change some parameters for the listbox.
- **.move_up(index)/.move_down(index)**
   Reorder options in the listbox
  
### Thanks for visiting! Hope it will help :)
django-simple-plausible 0.0.5
A simple Django package to render Plausible Analytics html tag
Requires Python: >=2.7

## Django Simple Plausible

A dead simple package to add Plausible Analytics html tag to your HTML. Tested with Python 2.7 and 3.8. Tested with Django 1.11 and 3.2.

### Usage

1. Install package: `pip install django_simple_plausible`

2. Add `django_simple_plausible` to your `INSTALLED_APPS` in settings.py

3. ADD `PLAUSIBLE_SITES` and `PLAUSIBLE_SCRIPT_URL` keys and values to your settings.py. Or enter the corresponding values as template tag parameters, as shown below.
```
...

PLAUSIBLE_SITES = "example.com"
PLAUSIBLE_SCRIPT_URL = "https://example.com/js/plausible.js"

...
```

4. add the following template tags to your site html:
```
{% load plausible %}
{% plausible %}
```

---

### Configuring details

- `PLAUSIBLE_SITES` can be a comma separated list without spaces, if you want to use that feature of Plausible

```
PLAUSIBLE_SITES = "example.com,yoursite.com"
```

- `PLAUSIBLE_SCRIPT_ASYNC_TAG` is an optional setting. It can be used to render the script tag with the `async` attribute instead of `defer`

```
PLAUSIBLE_SCRIPT_ASYNC_TAG = True
```
- Systemwide settings can be overridden giving the template tag some optional parameters:

```
{% plausible plausible_sites="mysite.com" script_url="https://mysite.com/plausible.js" async_tag=True %}
```
NtcPlot 0.0.2
Package of NtcPlot
Requires Python: >=3.12

# Welcome to NtcPlot!  
  
NtcPlot plots geo-referenced and other arrays from netCDF files. It's a single person's effort to provide a simple tool for data visualisation. Far from being perfect, it's a work in progress. Feel free to download the files and adapt them to your needs.   
  
NtcPlot is a cross-platform application that runs on Windows, Linux and other desktop computers. NtcPlot only requires that your computer has a compatible  **Python 3.12** (or later version) installed.  
  
  
# Version  
  
The current version of NtcPlot is 0.0.2, released on 24/10/2024.  
  
## Applications  
  
- Make a line plot, with multiple lines if needed.   
- Make a scatter plot, with multiple datasets if needed.   
- Plot a map with 2D data.   
- Usage of NumPy to edit the visualised data.   
   
 Video Tutorial 

 [Simple Usage](https://youtu.be/9VteB3ffwdw)    
<a href="http://www.youtube.com/watch?feature=player_embedded&v=9VteB3ffwdw
" target="_blank"><img src="http://img.youtube.com/vi/9VteB3ffwdw/0.jpg" 
alt="IMAGE ALT TEXT HERE" width="240" height="180" border="10" /></a>


## Installation Tips  

I would recommend using a virtual environment to test dependencies. For this, the user car open a terminal and run the following command. 
```
python -m venv ntcplot_env
```


If on Windows, the user will need to have permission to run scripts. The following command will give permission for the running session.
```
# Windows user only
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process
```
Activate virtual environment (Unix)
```
cd ntcplot_env
.\Scripts\activate
```
Activate virtual environment (Windows)
```
cd ntcplot_env
.\Scripts\Activate.ps1
```
Install  software 
```
pip install NtcPlot
```

If the following error occurs, do not falter. 
``` 
INFO: pip is looking at multiple versions of ntcplot to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement PyQt6>=6.7 (from ntcplot) (from versions: none)
ERROR: No matching distribution found for PyQt6>=6.7
``` 
The installation script has determined that at least one dependency is missing or is of an older version. The following dependencies should be installed. For more proficient users, the git repository contains the requirements.txt
``` 
# Optional
pip install PyQt6==6.7
pip install numpy==1.26
pip install netCDF4==1.7
pip install matplotlib==3.8
pip install basemap==1.4.1
``` 

Launch NtcPlot
``` 
ntcplot /your_path/file.nc
``` 

  
## Contact  
  
The author will soon share contact details.
djform-navigation 1.1
Sami Test Pip
Requires Python: >=3.6
Keywords: urllib, httplib, http

**Insallation**

1. `pip install djform_navigation`
2. Add `form_navigation` in installed apps in `settings.py` of django project
   

    INSTALLED_APPS = [
       'form_navigation',
       # ...
    ]
(at the top)

**Description**

It adds Next and Prev buttons to the top of each edit form of django admin site
for all the models of all the apps in your project, without need to do anything
except installing the module with pip plus adding to the top of INSTALLED_APPS in settings.py

**Instructions to run the sample usage**

1. `git clone https://github.com/humblesami/djform_navigation.git`
2. `cd djform_navigation/sample_usage`
3. `pip install -r requirements.txt`

*Not required* but if you want to reset the database, you can do this
3.1. `python manage.py initsql.py`

4. `python manage.py runsever`

5. Open following url in your browser and login with given username and password
   http://127.0.0.1:8000/admin/login/?next=/admin/login
   username
   sa
   password
   123

6. Go to
   http://127.0.0.1:8000/admin/form_navigation/model1/add/

7. Add image to check preview

**Make you own pip package**
See https://github.com/humblesami/djform_navigation/blob/master/docs/make_pip.md to make/build/test and upload
`your own pip package`
pd-fred 0.1.0
Python package to calculate Probability of Default using FRED data.
Requires Python: >=3.6

# pd_fred

A Python package for calculating the Probability of Default (PD) using FRED data.

## Installation
```bash
pip install pd_fred
```

## Usage
```python
from pd_fred import DataFetcher, PDefaultCalculator

# Fetch data
fetcher = DataFetcher(api_key='your_fred_api_key')
data = fetcher.get_data('DGS10')

# Calculate PD using the Merton model
pd_value = PDefaultCalculator.calculate_merton_model(
    asset_value=100, debt_value=80, asset_volatility=0.2, risk_free_rate=0.01, time_horizon=1
)
```
qinglongsdk 0.1.6
青龙面板apiSDK
Requires Python: >=3.6

# qinglongsdk

青龙api的pythonSDK



使用方法

安装

```
pip install qinglongsdk
```

所有模块使用方法大同小异，以环境变量模块为例:

```
from qinglongsdk import qlenv

ql_env = qlenv(
    url="12.22.43.23",   #青龙面板IP地址(不包含http://)
    port=5700,			#青龙面板端口
    client_id="admin",  # 青龙面板openapi登录用户名
    client_secret="abcdefg_", # 青龙面板openapi登录密码
)
ql_env.list()
```

青龙api文档

https://qinglong.ukenn.top/#/