semvec/pypi-packages huggingface dataset:
django-db-only 0.0.3
Django models as standalone app.

# <p align="center">django-db-only

This is just wrapper package on top of django framework, which creates django project with only standalone modules included.
  
You can check releases in [Releases](https://github.com/abrorbekuz/django-db-only/releases)<br>
Our community [Telegram Group](https://t.me/django_db_only)

## Howto
**1.** install django-db-only: 

`python setup.py install` or just type `pip install django-db-only`

**2.** create standalone django models project:

```
django_db_only startproject myproject
cd myproject
```

**3.** migrate

```
python manage.py makemigrations <app_name>
python manage.py migrate <app_name>
```

**4.** run application with standalone django models:

```
python query_resolver.py
```
puhdistusalue 2022.7.24
Puhdistusalue (Finnish for clean area here meaning purge range) - Purge monotonically named files in folders keeping range endpoints.
Requires Python: >=3.8
Keywords: compression,developer-tools,file-processing

# puhdistusalue

Puhdistusalue (Finnish for clean area here meaning purge range).

[License: MIT](https://git.sr.ht/~sthagen/puhdistusalue/tree/default/item/LICENSE)

Purge monotonically named files in folders keeping range endpoints.

*Note*: Within a folder, only the ordering and the min-max membership to its content identity range determines to keep a file.

[![version](https://img.shields.io/pypi/v/puhdistusalue.svg?style=flat)](https://pypi.python.org/pypi/puhdistusalue/)
[![downloads](https://img.shields.io/pypi/dm/puhdistusalue.svg?style=flat)](https://pypi.python.org/pypi/puhdistusalue/)
[![wheel](https://img.shields.io/pypi/wheel/puhdistusalue.svg?style=flat)](https://pypi.python.org/pypi/puhdistusalue/)
[![supported-versions](https://img.shields.io/pypi/pyversions/puhdistusalue.svg?style=flat)](https://pypi.python.org/pypi/puhdistusalue/)
[![supported-implementations](https://img.shields.io/pypi/implementation/puhdistusalue.svg?style=flat)](https://pypi.python.org/pypi/puhdistusalue/)

## Documentation

User and developer [documentation of puhdistusalue](https://codes.dilettant.life/docs/puhdistusalue).

## Bug Tracker

Feature requests and bug reports are bested entered in the [todos of puhdistusalue](https://todo.sr.ht/~sthagen/puhdistusalue).

## Primary Source repository

The primary source repository of [puhdistusalue is at sourcehut](https://git.sr.ht/~sthagen/puhdistusalue)
a collection of tools useful for software development.

## Status

Experimental

**Note**: The default branch is `default`.
puristaa 2022.7.24
Puristaa (Finnish for compress) - shared prefix compression of ordered string sequences.
Requires Python: >=3.8
Keywords: compression,developer-tools,text-processing

# puristaa

Puristaa (Finnish for compress)

[License: MIT](https://git.sr.ht/~sthagen/puristaa/tree/default/item/LICENSE)

Provide a memory neutral and fast implementation that is clear to understand and works for the use case of extracting a common prefix of a sequence of strings and yielding that prefix and a generator for the compressed strings of the original sequence.

The latter is not yet clear. One simple implementation path is to receive a reference to a sequence, determine min-max, compare min to max by character and break with first index of enumaeration not matching. Finally yield first the prefix, subsequently all strings of the sequence each shortened by the prefix.

Another still open question is, if a composition of functions can be construed, such that the prefix finding algorithm respects a caller provided policy representing the inner structure of the strings.
 An example for an inner structure is a sequence of paths as strings. A path policy would provide a separator that modifies the prefix finding algorithm to backtrack to the previous such separator token.

why? well, imagine the sequence `'bar/baz', 'bar/bazaar'` and a path policy providing the boolean predicate `lambda x: x == '/'` should not yield `'bar/baz', '', 'aar'` but instead `'bar/', 'baz', 'bazaar'`.

[![version](https://img.shields.io/pypi/v/puristaa.svg?style=flat)](https://pypi.python.org/pypi/puristaa/)
[![downloads](https://img.shields.io/pypi/dm/puristaa.svg?style=flat)](https://pypi.python.org/pypi/puristaa/)
[![wheel](https://img.shields.io/pypi/wheel/puristaa.svg?style=flat)](https://pypi.python.org/pypi/puristaa/)
[![supported-versions](https://img.shields.io/pypi/pyversions/puristaa.svg?style=flat)](https://pypi.python.org/pypi/puristaa/)
[![supported-implementations](https://img.shields.io/pypi/implementation/puristaa.svg?style=flat)](https://pypi.python.org/pypi/puristaa/)

## Documentation

User and developer [documentation of puristaa](https://codes.dilettant.life/docs/puristaa).

## Bug Tracker

Feature requests and bug reports are bested entered in the [todos of puristaa](https://todo.sr.ht/~sthagen/puristaa).

## Primary Source repository

The primary source repository of [puristaa is at sourcehut](https://git.sr.ht/~sthagen/puristaa)
a collection of tools useful for software development.
## Status

Experimental

**Note**: The default branch is `default`.

# Use

## Commandline API
malwaretl-stoq-transformer 1.0.7
Helper class to build Stoq instances for use in MalwareETL pipelines
Requires Python: >=3.6

# malwaretl_stoq_transformer
Transform step in malwarETL pipeline for captured files

This includes a few clustom stoQ plugins:
 1. A custom EMBER-format Lief because I want to make sure the data collected here matches the 
EMBER dataset format. The `to_json` LIEF method does not include some values if they're False, empty lists, etc in 
the final json, and that is a problem for training since those are values that I want to be able to learn on. Also,
some of the values were strangely different (`len(lief_obj.imported_functions) != len(lief_json["imports}]`) so I could
not be convinced that the json dump was clearly comparable to the EMBER dataset data.
 2. A custom version of the regular Lief plugin, because the lief library is looking for input as a list, rather than as a
straight bytestring, so the default Lief plugin didn't work.
 3. A custom dispatcher that looks at the mimetype of a file, and selectively dispatches files to workers depending on the mimetype.


This project is designed to be used in two ways (at the same time):
    1. Collector or Transformer projects import the library, get a stoq instance for their collector, and progressively hand
        files to that instance for scanning as they download them.
    2. Collector or Transformer projects use the Docker image generated here as the base image for their images, so that
        the stoq requirements are pre-installed in their starting image.


The original Stoq plugins that I modified were licensed under the Apache License, and are copyrighted by the 
PUNCH Cyber Analytics Group.