semvec/pypi-packages huggingface dataset:
dicom-to-jpeg-converter 0.1.0
Convert DICOM files to JPEG format using Python
License: MIT

# dicom_to_jpeg_converter
[![PyPI Version](https://img.shields.io/pypi/v/dicom_to_jpeg_converter.svg)](https://pypi.org/project/dicom_to_jpeg_converter/)
[![License](https://img.shields.io/github/license/KUMARANVASANTH/dicom_to_jpeg_converter.svg)](https://opensource.org/licenses/MIT)

Convert DICOM files to JPEG format using Python.

## Installation

You can install `dicom_to_jpeg_converter` using `pip`:

```bash
pip install dicom_to_jpeg_converter
```

## Usage
```python
from dicom_to_jpeg_converter import converter

# Specify input and output paths
folder_path = "/path/to/input_files"
output_path = "/path/to/output_files"

# Convert DICOM to JPEG
converter.convert(folder_path, output_path)
```
## Dependencies
1. pydicom
2. Pillow
```bash
pip install pydicom Pillow
```

## Contributing
If you would like to contribute to this project, please follow these steps:

1. Fork the repository
2. Create a new branch (git checkout -b feature/new-feature)
3. Commit your changes (git commit -am 'Add new feature')
4. Push to the branch (git push origin feature/new-feature)
5. Create a pull request


## License
License: MIT
This project is licensed under the MIT - see the LICENSE file for details.

## Acknowledgments
Thanks to the contributors of pydicom and Pillow.

## Author
Vasantharan K
django-random-queryset 0.2.0
Pull random records using Django ORM.
License: MIT

django-random-queryset
======================

Pull random records using Django ORM.


Requirements
------------

- Python 3.8+
- Django 3.2+


Installation
------------

.. code:: sh

    $ pip install django-random-queryset


Setup
-----


Add ``RandomManager`` to desired model:

.. code:: python

    from django.db import models

    from django_random_queryset import RandomManager


    class Model(models.Model):

        objects = RandomManager()

        # ...
        

**No database migrations are needed.**


How to use it:

.. code:: python

    queryset = Model.objects.filter(field=value)
    queryset.random()   # to get one random record
    queryset.random(5)  # to pass limited random records
    queryset.random(len(queryset)) # to get all random records
    queryset.random().values()  # to have access to other queryset methods