semvec/pypi-packages huggingface dataset:
PREDICT 3.2.0
Predict: a Radiomics Extensive Digital Interchangable Classification Toolkit.
Requires Python: >=3.11
Keywords: bioinformatics, radiomics, features

PREDICT v3.2.0
==============

PREDICT: a Radiomics Extensive Digital Interchangable Classification Toolkit
----------------------------------------------------------------------------

This is an open-source python package supporting radiomics image feature extraction.

Documentation
~~~~~~~~~~~~~

For more information, see the sphinx generated documentation available in the docs folder. PREDICT is mostly used through `the WORC toolbox <https://github.com/MStarmans91/WORC>`__, in which further documentation on the features computed is also available, see https://worc.readthedocs.io/en/latest/static/features.html.

Alternatively, you can generate the documentation by checking out the master branch and running from the root directory:

.. code:: python

   python setup.py build_sphinx

The documentation can then be viewed in a browser by opening ``PACKAGE_ROOT\build\sphinx\html\index.html``.

Installation
~~~~~~~~~~~~

PREDICT has currently been tested on Ubuntu 24.04, and Windows 10 using Python 3.11.5 and higher.

The package can be installed through pip :

.. code:: python

   pip install PREDICT

Alternatively, you can use the provided setup.py file:

.. code:: python

   python setup.py install

Make sure you first install the required packages:

.. code:: python

   pip install -r requirements.txt

Configuration and usage
~~~~~~~~~~~~~~~~~~~~~~~

We recommend using PREDICT through `the WORC toolbox <https://github.com/MStarmans91/WORC>`__, as WORC provides easy execution, good default configurations, and additional functionality such as preprocessing. If you want to use PREDICT as standalone package, we have included the default config for PREDICT from WORC in the ``tests`` folder. The main function of PREDICT is the ``PREDICT.CalcFeatures.CalcFeatures`` function, see tests.py in the test folder on the usage.

3rd-party packages used in PREDICT:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

We mainly rely on the following packages:

- SimpleITK (Image loading and preprocessing)
- numpy (Feature computation)
- scikit-image
- pandas (Storage)
- PyRadiomics
- pydicom

See also the `requirements file <requirements.txt>`__.

License
~~~~~~~

This package is covered by the open source `APACHE 2.0 License <APACHE-LICENSE-2.0>`__. When using PREDICT, please cite the following DOI: |DOI|.

Contact
~~~~~~~

We are happy to help you with any questions: please send us a message or create an issue on Github.

.. |DOI| image:: https://zenodo.org/badge/doi/10.5281/zenodo.3854839.svg
   :target: https://zenodo.org/badge/latestdoi/92298822
odeta 0.3.1
A simple NoSQL-like interface for SQLite
Requires Python: >=3.6

# ODETA

ODETA is a lightweight ORM-like library for SQLite that allows you to perform NoSQL-like operations. It provides a simple and intuitive interface for interacting with SQLite databases, making it easy to store and retrieve JSON data.

## Features

- **CRUD Operations**: Easily perform create, read, update, and delete operations.
- **Querying**: Support for simple and complex queries.
- **ULID Generation**: Automatically generate ULIDs for unique record identifiers.
- **Table Management**: Create, drop, and truncate tables.
- **Row Counting**: Count the number of rows in a table.
- **Fetch by ID**: Retrieve a single row by its ID.

## Installation

You can install ODETA using pip:

```bash
pip install odeta
```

## Usage

### Initialization

First, import the `LocalBase` class and create a database instance:

```python
from odeta import LocalBase

db = LocalBase('my_database.db')
```

### Creating and Inserting Data

Create a table and insert data:

```python
table = db('my_table')

data = {
    'name': 'John Doe',
    'age': 30,
    'email': 'john.doe@example.com'
}

response = table.put(data)
print(response)  # {'id': 'system_generated_unqiue_id', 'msg': 'success'}
```

### Querying Data

Fetch all records or filter records based on a query:

```python
# Fetch all records
all_records = table.fetchall() # You can put query too in this fetchall({...}), it will gather all rows with OR condition.
print(all_records)

# Fetch records with a specific query AND condition.
filtered_records = table.fetch({'name?contains': 'John'})
print(filtered_records)
```

### Updating Data

Update a record by its ID:

```python
update_data = {
    'name': 'Jane Doe',
    'age': 25,
    'email': 'jane.doe@example.com'
}

table.update(update_data, 'record_id')
```

### Deleting Data

Delete a record by its ID:

```python
table.delete('record_id')
```

### Additional Operations

#### Truncate Table

Remove all rows from the table:

```python
table.truncate()
```

#### Drop Table

Completely remove the table from the database:

```python
table.drop()
```

#### Count Rows

Count the number of rows in the table:

```python
row_count = table.count()
print(row_count)
```

#### Find by ID

Retrieve a single row by its ID:

```python
record = table.get('record_id')
print(record)
```

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Contributing

Contributions are welcome! Please open an issue or submit a pull request.

## Contact

For any questions or feedback, please contact [tech.manujpr@gmail.com](mailto:tech.manujpr@gmail.com).

---

Thank you for using ODETA!
app-creator-location 0.1.1
Un petit outil Django/CLI pour récupérer l'emplacement IP
Requires Python: >=3.8

# App Creator Location 🌍

Une application Django + CLI pour récupérer la géolocalisation de l'utilisateur via son adresse IP (`https://ipinfo.io`).

## 📦 Installation

```bash
pip install app-creator-location
Utilisation CLI
get-location
Utilisation Django
'app_creator',
Depuis PyPI (si publié) :
    pip install app-creator-location
▶️ Utilisation en ligne de commande :
------------------------------------------------------------

Tape simplement :
    get-location

Résultat :
   IP: 255.255. 255.255
    Ville: Abidjan
    Région: Abidjan
    Pays: CIV
    Localisation: Région des lagunes au sud de la Côte d'Ivoire
    Fournisseur: Orange.CI

------------------------------------------------------------
🌐 Intégration dans un projet Django :
------------------------------------------------------------

1. Ajouter `app_creator` dans `INSTALLED_APPS` :
    INSTALLED_APPS = [
        ...
        'app_creator',
    ]

2. Inclure les routes dans `urls.py` du projet :
    from django.urls import include, path

    urlpatterns = [
        ...
        path('', include('app_creator.urls')),
    ]

3. Accéder à la route `/ip/` dans votre navigateur :
    http://localhost:8000/ip/

    Exemple de réponse JSON :
    {
        "ip": "255.255. 255.255",
        "city": "Abidjan",
        "region": "Abidjan",
        "country": "CIV",
        "loc": "Région des lagunes au sud de la Côte d'Ivoire",
        "org": "Orange.CI."
    }

------------------------------------------------------------
📂 Structure du package :
------------------------------------------------------------

app_creator/
├── __init__.py
├── cli.py             → Script CLI
├── views.py           → Vue Django (JSON)
├── urls.py            → Routes Django

setup.py               → Configuration package
README.txt             → Ce fichier
LICENSE                → Licence MIT ou autre
MANIFEST.in            → (si fichiers statiques)
pyproject.toml         → (facultatif, version moderne)

------------------------------------------------------------
📤 Publication sur PyPI (rappel) :
------------------------------------------------------------

1. Installer les outils :
    pip install build twine

2. Créer les fichiers :
    python setup.py sdist bdist_wheel

3. Publier :
    twine upload dist/*

------------------------------------------------------------
👤 Auteur :
------------------------------------------------------------
Nom : Traoré Souleymane Almami
Email : trasouleymane980@gmail.com
GitHub : https://github.com/

------------------------------------------------------------
📝 Licence :
------------------------------------------------------------
Ce projet est sous licence MIT. Voir le fichier LICENSE.