semvec/pypi-packages huggingface dataset:
line-profiler-pycharm 1.2.0
PyCharm Line Profiler helper package with which one can visualize profiles from the 'line-profiler' into PyCharm
Requires Python: >=3

# Line Profiler Pycharm

Code to create `.pclprof` files which can be read by the PyCharm Line Profiler plugin.

Project heavily relies on the python `line-profiler` plugin.

This package can be used by the PyCharm Line Profiler plugin to profile code and 
visualize the resulting profiles.

The package exposes a decorator `profile` that can be used to create `.pclprof` files. These files
are nothing more than json exports of the line-profiler `.lprof` files. These files can be read
by the Pycharm Line Profiler plugin.
 

## Example
The `.pclprof` files can be generated by decorating any function with the `profile` decorator

For example:
```python
# profile_this.py
from line_profiler_pycharm import profile 

import time

@profile
def profile_this():    
    time.sleep(1)
    time.sleep(2)

if __name__ == "__main__":
    profile_this()
```
 
If you run this code:
```shell script
python profile_this.py
```

A file `profile_this.py.pclprof` will be generated in your current working directory.
image-processing-Desafio-DIO-2024-v2 0.0.1
Image Processing Package using skimage
Requires Python: >=3.8

# image_processing

Description. 
The package image_processing-Desafio_DIO_2024 is used to:
	Processing:
 		- Histogram matching
   		- Structural similarity
     		- Resize image
	Utills:
 		- Read image
   		- Save image
     		- Plot image
       		- Plot result
	 	- Plot histogram

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install image_processing-Desafio_DIO_2024

```bash
pip install image_processing-Desafio_DIO_2024
```

## Author
Gutembergue

## License
[MIT](https://choosealicense.com/licenses/mit/)
mpn 0.0.1
A man-like command for showing help for Python objects.
Requires Python: >=3.8
Keywords: mpn

# mpn

A man-like command for showing help for Python objects.

[![PyPI - Version](https://img.shields.io/pypi/v/mpn.svg)](https://pypi.org/project/mpn)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mpn.svg)](https://pypi.org/project/mpn)

-----

**Table of Contents**

- [Installation](#installation)
- [Usage](#usage)
- [License](#license)

## Installation

```console
pip install mpn
```

# Usage

To see help text for `json.dumps` and `os.path.isdir`, just type

```console
mpn json.dumps os.path.isdir
```

You can give any valid Python object as arguments.

## License

`mpn` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
linq-py-net 0.0.3
Extensions methods for the list, inspired in linq csharp
Requires Python: >=3.5
Keywords: python, linq, csharp, c#

# linq_py_net

The linq_py_net package is used to manage list collections:

| methods          | description                                            |
| ---------------- | ------------------------------------------------------ |
| where            | filter itens by lambda predicate                       |
| count            | count itens, lambda predicate is optiona               |
| first_or_default | find first item on the sequence, predicate is optional |
| select           | project data from list                                 |

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install linq_py_net

```bash
pip install linq-py-net
```

# Usage

```python
from linq_py_net import Linq

linq = Linq([1,2,3,4,5,6,7,8,9,10])

linq.first_or_default() # 1

pares = linq.where(lambda x: x % 2 == 0) # [2,4,6,8,10]
pares.count() # 5
pares.count(lambda x: x > 6) # 2

project = (
    linq.where(lambda x: x % 2 == 0)
        .select(lambda x: { "item": x })
)
```

## Author

Wellington Junior
obsidian-media 2.0.0
A plugin for Python-Markdown that allows you to embed media files as in Obsidian.
Requires Python: >=3.10

<!--
SPDX-FileCopyrightText: © 2024 Serhii “GooRoo” Olendarenko

SPDX-License-Identifier: BSD-3-Clause
-->

# [Obsidian][obsidian] media embedder

[![Made by Ukrainian](https://img.shields.io/static/v1?label=Made%20by&message=Ukrainian&labelColor=1f5fb2&color=fad247&style=flat-square)](https://savelife.in.ua/en/donate-en/#donate-army-card-once)
[![License](https://img.shields.io/github/license/GooRoo/obsidian-media?style=flat-square)](LICENSE)

This is an extension for [Python-Markdown][python-markdown] which allows you to embed **audio** or **video** files as easily as images by simply writing:

```markdown
![my song](assets/music/my-last-song.mp3)
![my video](assets/video/interview.webm)
```

Additionally, this plugins allows to specify an image size [the Obsidian way](https://help.obsidian.md/Linking+notes+and+files/Embed+files#Embed+an+image+in+a+note), e.g.:

```markdown
![400x300](assets/images/photo.jpg)  <!-- width and height -->
![400](assets/images/photo.jpg)      <!-- only width -->
```

Supported formats are:
- **Images:**	`avif`, `bmp`, `gif`, `jpeg`, `jpg`, `png`, `svg`, `webp`.
- **Audio:** `mp3`, `wav`, `m4a`, `ogg`, `3gp`, `flac`.
- **Video:** `mp4`, `webm`, `ogv`, `mov`, `mkv`.
- **Other:** ~~`md`, `pdf`~~ _not yet._

And even more than that! It embeds youtube videos too!

```markdown
![](https://youtu.be/dQw4w9WgXcQ)
```

## Usage

Simply enable the extension like this:

```python
import markdown

md = markdown.Markdown(extensions=['obsidian_media'])
print(md.convertFile('page.md'))
```

## MkDocs

It can be used with [MkDocs][mkdocs] as following:

```yaml
# mkdocs.yml
markdown_extensions:
  - obsidian_media_mkdocs
```

For the best results, I recommend using it together with my [**mkdocs-obsidian-bridge**](https://github.com/GooRoo/mkdocs-obsidian-bridge). This would allow you to simply write:
```markdown
![[assets/audio/my favourite song.mp3]]
![[assets/video/birthday party.mov]]

![[images/photo.jpg|400x300]]
![[images/photo.jpg|200]]
```

## Credits

This extension is heavily inspired by [orobardet/pymarkdown-video](https://github.com/orobardet/pymarkdown-video) and motivated by @pipe-organ in GooRoo/mkdocs-obsidian-bridge#17.


[mkdocs]: https://www.mkdocs.org
[obsidian]: https://obsidian.md
[python-markdown]: https://python-markdown.github.io/