semvec/pypi-packages huggingface dataset:
aniparser 0.2.0
Provides a parser to parse file names and return data based on the names
Requires Python: >=3.4

This is a simple parser that is built to take a file path and return data based on that file path, to determine some common information about animes.

# Usage

The usage of this is pretty simple, there are two main entry points into grabbing data
from files. To parse through an entire directory (recursively) you can do the following
```
for data in aniparser.parse_directories("/home/user/Anime"):
    print(data)
```

To not search recursively, just provide False to the recursive parameter
```
for data in aniparser.parse_directories("/home/user/Anime/Specific Anime Folder", recursive=False):
    print(data)
```

If you want to parse just a single file
```
data = aniparser.parse("/home/user/Anime/Specicific Anime Folder/Specific Anime Episode.mpv")
print(data)
```

# Details
The idea behind the parsing method in this library is to do the least amount of work possible while maintaining reliance. There are many common things that appear in a filename, and this does try to do them in some kind of "sane" order of commonality. It will only do some extra work when it's needed. Additionally, since this should always have the same output for the same input, as well as that output being a small memory footprint in of itself, this does use some aggressive caching that should help speed things up tremendously in long running uses.
pymica-martinet101 1.0
Apply mica background to Windows 11 windows
Requires Python: >=3.6

# PyMica: A simple module to add the Mica effect on legacy python windows
The aim of this project is to apply the Mica effect on python applications made with Python, like Tkinter, PyQt/PySide, WxPython, Kivy, etc.

## Requirements:
 - Windows 11
 - A **frameless** window (It might work with a normal window, bit it is not guaranteed.)
 - The HWND (identifier) of that window
 - The window must have semi-transparent widgets/controls in order to recreate the transparency effect. More info: [what is a hwnd?](https://stackoverflow.com/questions/1635645/what-is-hwnd-in-vc) 
 - Know if Windows has dark or light mode enabled. This can be checked with the [`darkdetect` module](https://pypi.org/project/darkdetect/)

## Usage:

```python

hwnd = qtwindow.winId() # On a PyQt/PySide window
hwnd = tkwindow.frame() # On a tkinter window
# You'll need to adjust this to your program

import pymica

isDark = True  # Dark mode mica effect
isDark = False # Light mode mica effect

import darkdetect # Auto detect
isDark = darkdetect.isDark()

pymica.ApplyMica(hwnd, darkMode=isDark)
```

## Result:

![Demo](img/demo.png)