semvec/pypi-packages huggingface dataset:
sphinxcontrib-clearquest 0.6
Sphinx "clearquest" extension
License: BSD
Keywords: clearquest,sphinx

.. -*- restructuredtext -*-

=============================
Sphinx "ClearQuest" extension 
=============================

Description
===========

A sphinx extension that adds a ``clearquest`` directive for converting 
ClearQuest__ requests to reStructuredText tables.

__ http://www-01.ibm.com/software/awdtools/clearquest/

Dependencies
============

Sphinx
   http://sphinx.pocoo.org/
PyWin32
   http://sourceforge.net/projects/pywin32/ (**PyWin32** will not be automatically 
   installed by ``easy_install`` or ``pip install`` as ``egg`` packages are not
   available on **pypi**)

Installation & Usage
====================

You can install the ``sphinxcontrib.clearquest`` package with ``easy_install`` 
or ``pip``: ::

   $ easy_install sphinxcontrib-clearquest

Or with the windows installer available on this page.

.. important:: You must manually install **PyWin32** for the directive to work.

Append ``'sphinxcontrib.clearquest'`` to extensions parameter, and run Sphinx.

Directive Syntax
================

The syntax of the directive is as follows: ::

   .. clearquest:: <full name/of the clearquest query> (mandatory)
      :params: <parameters to pass to the query> (optional)
      :username: <your username> (optional)
      :password: <your password> (optional)
      :db_name: <the name of the db> (optional)
      :db_set: <the name of the db set> (optional)

The parameters to pass to the query must respect the following syntax: ::

   <param1_name>=<param1_value>,<param2_name>=<param2_value>, ...

You can provide them in any order as long as you don't forget one. 
The query call will fail if you do.

The connection credentials can either be provided as directive options or 
in a ``clearquest`` section in the ``~/.sphinxcontrib`` file which is a 
standard ``.ini`` configuration file. 

Here is an example of ``~/.sphinxcontrib`` file: ::

   [clearquest]
   username = john
   password = doe
   db_name = prod
   db_set = cqsrv
django-diplomat 0.2.0
Language and country models for Django derived from the pycountry module.
License: BSD

Diplomat
========

Diplomat provides Django models for the countries and languages covered by the 
ISO 3166 and ISO 639 standards, respectively.  Diplomat is implemented as a 
wrapper around a subset of pycountry, and its interface should feel familiar to 
users of that module.

Installation
============

Add `diplomat` to your `INSTALLED_APPS`, then run the `syncdb` command, which
will create the required language and country models.

Model Usage
===========

Diplomat's field models exactly mirror the attributes of the pycountry database
objects that they imitate.  In addition to these attributes, custom manager
methods are available for some of the objects provided by diplomat.

Languages
---------

The `ISOLanguage` model is a wrapper around the `pycountry.db.Language` model.

    >>> from diplomat.models import ISOLanguage
    >>> aragonese = ISOLanguage.objects.get(alpha2='an')
    >>> aragonese.alpha2
    u'an'
    >>> aragonese.bibliographic
    u'arg'
    >>> aragonese.terminology
    u'arg'
    >>> aragonese.name
    u'Aragonese'

In addition, it provides a custom model manager.

    >>> from diplomat.models import ISOLanguage
    >>> all_languages = ISOLanguage.objects.all()
    >>> basic_languages = ISOLanguage.objects.basic()
    >>> usable_languages = ISOLanguage.objects.usable()
    >>> all_languages.count() > usable_languages.count() > basic_languages.count()
    True
    >>> all([l.alpha2 for l in all_languages])
    False
    >>> all([l.alpha2 for l in basic_languages])
    True
    >>> all_languages.filter(terminology='zxx').count()
    1
    >>> usable_languages.filter(terminology='zxx').count()
    0

Countries
---------

The `ISOCountry` model is a wrapper around the `pycountry.db.Country` model.

    >>> from diplomat.models import ISOCountry
    >>> germany = ISOCountry.objects.get(alpha2='DE')
    >>> germany.alpha2
    u'DE'
    >>> germany.alpha3
    u'DEU'
    >>> germany.numeric
    u'276'
    >>> germany.name
    u'Germany'
    >>> germany.official_name
    u'Federal Republic of Germany'

Field Usage
===========

Diplomat provides a series of simple form fields for selecting country and
language objects.  These fields, which can be imported from `diplomat.fields`,
are as follows:

**LanguageChoiceField**  
A field for selecting a single usable language.

**LanguageMultipleChoiceField**  
A field for selecting multiple usable languages.

**BasicLanguageChoiceField**  
A field for selecting a single basic language covered by ISO 639-1.

**BasicLanguageMultipleChoiceField**  
A field for selecting multiple basic languages covered by ISO 639-1.

**CountryChoiceField**  
A field for selecting a single country.

**CountryMultipleChoiceField**  
A field for selecting multiple countries.
pymigrate 0.1
Pymigrate is a tool for you to use python scripts or whatever self runnable scripts as your migration sripts for your data and systme.
License: BSD
Keywords: python migrate migration

=================================
 pymigrate - Migration By Python
=================================

:Version: 0.1
:Download: http://pypi.python.org/pypi/pymigrate/
:Documentation: http://pymigrate.readthedocs.org/
:Source: http://github.com/nanfang/pymigrate/
:Keywords: Python, Migrate


Documentation
=============

`http://pymigrate.readthedocs.org/ <http://pymigrate.readthedocs.org/>`_


Install
=======

Use pip::

    pip install pymigrate

Use easy_install::

    easy_install pymigrate


Usage
=====

Migrate scripts should be in one folder and with a prefix in name as index. The index is the order of execution of the scripts. eg::

    MIGRATE_FOLDER/001_create_user_schema.py
                   002_create_group_schema.py
                   003_init_user_data.py

Then, run the migrate scripts by::

    pymigrate MIGRATE_FOLDER

After migration is done, we can show the trace by::

    pymigrate -t MIGRATE_FOLDER

When you have new change to apply to the system, just add more scripts into the MIGRATE_FOLDER, and use index for the execution order.
If you just clear the system(like drop the database and recreate) and want to re-run the migrate sequence, you need clear the trace::


    pymigrate -c MIGRATE_FOLDER