semvec/pypi-packages huggingface dataset:
mentalweather 0.0.2
A package including the analysis of relationship between mental disease and weather and an application based on the ML model
Requires Python: >=3.11

This package includes 
the analysis of relationship between mental disease and weather 
and an application based on the trained ML model.

"mw_data_analysis" folder:
1. eda.py: containing the functions for EDA, ex. making pairplots and global map.
2. WeatherRegression.py: It is designed as a class for the reason that more ML method will be added. The stacking regressor used in the application and demo .ipynb file is here.
3. make_weather_history_data.py: used for fetching the global history weather data. It took hours to complete fetching weather data worldwide for the past dacade, so only run it when you need data for years not in range [2012 ~ 2021]
4. the weather data saved from running 3. and IHME disease statistics for training.(informations/, incidence/, prevalence/)
5. "app.py": This is an application making prediction with the Regression model 

"data_analysis_demo.ipynb": a jupyter notebook demostrating the exploratory data analysis of the mental disease data and history weather data, serving as interactive visualization UI.
django-import-file 0.0.6
Django Mixin allows easy import of files into Django models.
Keywords: python, django, import, file, import file, import excel


# django-import-file



Not ready for use yet!



Developed by Jakub Jadczak, 2024



## Examples of How To Use with Django Class Based View



Simple Usage



Read csv



```python



from django_import_file import FileImportMixin



class ImportFile(FileImportMixin, FormView):

    model = RowsData

    form_class = ImportFileForm

    template_name = "main/home.html"

    file_extension = "csv"

    file_encoding = "utf-8"

    delimiter = ";"

    required_columns = ["name", "age", "email", "phone", "address"]

    messages_success = "Import successful with no errors."

    success_url = reverse_lazy("main:home")

```



Read xlsx



```python

class ImportFile(FileImportMixin, FormView):

    model = RowsData

    template_name = "main/home.html"

    file_extension = "xlsx"

    required_columns = ["name", "age", "email", "phone", "address"]

    sheet_name = "Sheet1"

    messages_success = "Import successful with no errors."

    form_class = ImportFileForm

    success_url = reverse_lazy("main:home")

```



With additional calculation method



```python

class ImportFile(FileImportMixin, FormView):

    model = RowsData

    form_class = ImportFileForm

    template_name = "main/home.html"

    file_extension = "csv"

    file_encoding = "utf-8"

    delimiter = ";"

    required_columns = ["name", "age", "email", "phone", "address"]

    messages_success = "Import successful with no errors."

    success_url = reverse_lazy("main:home")



    def calculate_district(self, row):

        # name after _ must be equal to field in model, you want to calculate

        if ...:

            return "..."

        else:

            return "..."



    def get_file_content(self, file_path: str):

        df =  super().get_file_content(file_path)

        df["age"] = df["age"] + 10

        return df

```



Options:



```python

#import

from django_import_file import FileImportMixin



#Declarations, examples

file_extension = "csv"

use_verbose = True # map column using verbose_name (columns name in the file must be equal to verbose_names)

map_column = {"name": "Full Name"} # map your own columns name, {model_name: file_name}

sheet_name = "Sheet1" # used in xlsx

required_columns = ["age", "name"] 

exclude_columns = ["address"]

delimiter = ";"

file_encoding = "utf-16-le"



```
sandpiper-saas 1.1.0
Sandpiper SaaS
Keywords: sandpiper tlv tl-verilog verilog rtl hdl compiler

# SandPiper SaaS

## Overview

SandPiper SaaS Edition runs [Redwood EDA, LLC](https://redwoodeda.com)'s [SandPiper](https://redwoodeda.com/products)™ [TL-Verilog](https://tl-x.org) compiler as a microservice in the cloud to support low-overhead and zero-cost open-source development using commercial-grade capabilities. This simple Python script provides a convenient command-line interface to the microservice. It is used by exciting projects such as [WARP-V](https://github.com/stevehoover/warp-v) and [1st CLaaS](https://github.com/stevehoover/1st-CLaaS).

A TL-Verilog-enhanced open-source Verilog development flow might also make use of the similarly-light-weight [makerchip-app](https://pypi.org/project/makerchip-app/) for TL-Verilog editing.

## Install

```
pip3 install sandpiper-saas
```

**OR**, from the git repository itself:

```
git clone git@gitlab.com:rweda/sandpiper-saas.git
cd sandpiper-saas
pip3 install .
```

## Basic Usage

On an existing TL-Verilog source file:

```
sandpiper-saas -i design.tlv -o design.sv
```

For complete usage instructions:

```
sandpiper-saas --help
```

For SandPiper usage instructions:

```
sandpiper-saas --sphelp
```

## Help

Feel free to contact [Redwood EDA, LLC](https://redwoodeda.com) for [assistance](mailto:support@redwoodeda.com).

## Enjoy!
kasperskytip 1.0
Kaspersky TIP unofficial API for Python
Requires Python: <4,>=3.7
Keywords: api kaspersky antivirus malware scan

# 🛡️ Kaspersky TIP API

**[Kaspersky Threat Intelligence Portal](https://opentip.kaspersky.com/)** unofficial API for Python

# ✨ Features
- Search by **hash** (md5, sha1, sha256)
- Search by **IP address**
- Search by **domain**
- Search by **URL**
- Upload **samples**

# 📥 Installation

```
pip install kasperskytip
```

# ▶️ Getting Started

```python
import kasperskytip

ks = kasperskytip.kaspersky_tip()
site = ks.search("google.com")

print(site.is_safe)
>>> True
```

# 📝 Usage

Please, see the usage examples on [readthedocs](https://kaspersky-tip.readthedocs.io/en/latest/)