semvec/pypi-packages huggingface dataset:
grace-dizmogen-converter 0.0.6
A script to convert grace dizmos to dizmo generator dizmos.

# Grace To dizmoGen Converter

This simple script converts an existing grace dizmo into a dizmoGen dizmo. It requires dizmoGen (but not Grace) to be available on the system.

# Requirements

* Python3
* npm - \@dizmo/generator-dizmo

# Installation

## Linux/MacOS

The preferred way of installing dizmogen_converter is to make use of Python's virtual environment.
```
python3 -m venv .venv
source .venv/bin/activate
pip install grace-dizmogen-converter
```

If you rather install it globally you can do so, but you will need superuser privileges:
```
sudo pip3 install grace-dizmogen-converter
```

## Windows

There is currently no easy installer for windows. If you have a complete python environment set up it is the same as on linux/mac, otherwise you can always make use of the linux subsytem for windows.

# Usage

To use the converter, navigate into a Grace dizmo directory and execute `dizmogen_converter`. This will create a new directory inside the parent directory of the current directory with the converted dizmo.

Example (with source to .venv, only use this if you are using a virtual env.):
```
$ cd some_grace_dizmo
$ dizmogen_converter
$ cd ../some_grace_dizmo__converter
$ npm install
```
django-redactorjs 0.3.6
This reusable Django app using WYSIWYG editor redactorjs.com


django-redactorjs
===============
http://github.com/TigorC/django-redactorjs


What's that
-----------

*django-redactorjs is a reusable application for Django, using WYSIWYG editor http://redactorjs.com/*

**Package not compatible with previous version 0.2.x.**
**Package not include redactor.js**
Dependence
-----------

- `Django >= 1.3` # for static files
- `Pillow` or `PIL` # for image upload

Getting started
---------------

* Install django-redactorjs:

``pip install django-redactorjs
``

* Add `'redactor'` to INSTALLED_APPS.

* Add `url(r'^redactor/', include('redactor.urls'))`, to urls.py

* Add default config in settings.py (more settings see: <http://imperavi.com/redactor/docs/settings/>):

```
REDACTOR_OPTIONS = {'lang': 'ru'}
REDACTOR_UPLOAD = 'uploads/'
```

Config for redactor static
```
REDACTOR_CSS = {
    'all': (
        'imperavi/css/redactor.css',)
}
REDACTOR_JS = [
    'http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js',
    'imperavi/js/redactor.js',
    'imperavi/js/ru.js',
]
```

You can also specify a function to modify the filename of uploaded files (for example to ensure the filename is unique).
```
import uuid
def make_unique_filename(filename):
    ext = filename.split('.')[-1]
    return "%s.%s" % (uuid.uuid4(), ext)

REDACTOR_GENERATE_FILENAME = make_unique_filename

```

Using in model
--------------


    from django.db import models
    from redactor.fields import RedactorField

    class Entry(models.Model):
        title = models.CharField(max_length=250, verbose_name=u'Заголовок')
        short_text = RedactorField(verbose_name=u'Краткий текст')

or use custom parametrs:

    short_text = RedactorField(verbose_name=u'Краткий текст',
                    redactor_options={'lang': 'ru', 'focus': 'true'},
                    upload_to='tmp/')

Using for only admin interface
-----------------------------
    from django import forms
    from redactor.widgets import RedactorEditor
    from blog.models import Entry

    class EntryAdminForm(forms.ModelForm):
        class Meta:
            model = Entry
            widgets = {
               'short_text': RedactorEditor(),
            }

    class EntryAdmin(admin.ModelAdmin):
        form = EntryAdminForm

`RedactorEditor` takes the same parameters as `RedactorField`
rpm-vercmp 0.1.2
Pure Python implementation of rpmvercmp

Pure Python implementation of rpmvercmp.

The RPM Package Manager (http://rpm.org) has a version comparision algorithm,
implemented in its C library, which performs the comparison in a certain way.

In certain circumstances, where the C library is not installable (for example,
on non-rpm based systems), or does not support the desired version of the
python interpreter, the pure-python implementation may be useful.

Source Code
===========
https://github.com/sassoftware/python-rpm-vercmp

Installation
============
        $ pip install rpm_vercmp

Usage
=====

        import rpm_vercmp
        assert rpm_vercmp.vercmp("1.0", "1.0") == 0
        assert rpm_vercmp.vercmp("1.0", "1.1") == -1

Testing
=======
The testsuite uses rpm's test file in m4 format.
The file cat be fetched from:
https://raw.githubusercontent.com/rpm-software-management/rpm/master/tests/rpmvercmp.at