semvec/pypi-packages huggingface dataset:
pysysgit 0.1.0
Utility to call git from python
License: BSD
Keywords: sysgit

===============================
System Git
===============================

.. image:: https://img.shields.io/pypi/v/pysysgit.svg
        :target: https://pypi.python.org/pypi/pysysgit


Utility to call git from python. Examples::

  >>> from sysgit import *
  >>> res = git('ls-files')
  .editorconfig
  .gitignore
  AUTHORS.rst
  CONTRIBUTING.rst
  HISTORY.rst
  LICENSE
  MANIFEST.in
  README.rst
  docs/Makefile
  docs/authors.rst
  docs/conf.py
  docs/contributing.rst
  docs/history.rst
  docs/index.rst
  docs/installation.rst
  docs/make.bat
  docs/readme.rst
  docs/usage.rst
  requirements.txt
  setup.cfg
  setup.py
  sysgit/__init__.py
  tox.ini
  >>> print res
  0
  >>> res = git('ls-files', f=CHECK_OUTPUT)
  >>> print res
  .editorconfig
  .gitignore
  AUTHORS.rst
  CONTRIBUTING.rst
  HISTORY.rst
  LICENSE
  MANIFEST.in
  README.rst
  docs/Makefile
  docs/authors.rst
  docs/conf.py
  docs/contributing.rst
  docs/history.rst
  docs/index.rst
  docs/installation.rst
  docs/make.bat
  docs/readme.rst
  docs/usage.rst
  requirements.txt
  setup.cfg
  setup.py
  sysgit/__init__.py
  tox.ini

  >>> res = git('blah', f=CHECK_OUTPUT)
  git: 'blah' is not a git command. See 'git --help'.

  Did you mean this?
          blame
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "sysgit/__init__.py", line 79, in git
      return f(full_args, **full_kwargs)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 573, in check_output
      raise CalledProcessError(retcode, cmd, output=output)
  subprocess.CalledProcessError: Command '('git', 'blah')' returned non-zero exit status 1

* Free software: BSD license
* Documentation: https://pysysgit.readthedocs.org.

Features
--------

* TODO




History
-------

0.1.0 (2015-01-11)
---------------------

* First release on PyPI.
jailconf_tools 1.0.1
A jail.conf python library to help making administration software
License: BSD
Keywords: freebsd jail parser

==============
jailconf_tools
==============

**jailconf_tools** is a python package which includes a lot of tools to use with the new jail format on a freebsd host.

Howto
-----

This is an example of howto use jailconf parser :

::

    #!/usr/bin/env python
    import sys
    from jailconf_tools.parser import get_jails_config


    def main():
        """Main function"""

        try:
            print(get_jails_config())
        except:
            return 1
        else:
            return 0

    if __name__ == "__main__":
        sys.exit(main())

This peace of code returns a python dict which contains all jails definition.
mongoengine-mls 1.1.0
MultiLingualField for MongoEngine
License: BSD

MultiLingualField for MongoEngine (for Python 2k and 3k)
========================================================

.. image:: https://travis-ci.org/rembish/mongoengine-mls.svg?branch=master
    :target: https://travis-ci.org/rembish/mongoengine-mls

.. image:: https://coveralls.io/repos/rembish/mongoengine-mls/badge.svg
    :target: https://coveralls.io/r/rembish/mongoengine-mls

.. image:: https://pypip.in/download/mongoengine-mls/badge.svg
    :target: https://pypi.python.org/pypi/mongoengine-mls

.. image:: https://pypip.in/version/mongoengine-mls/badge.svg
    :target: https://pypi.python.org/pypi/mongoengine-mls

.. image:: https://pypip.in/py_versions/mongoengine-mls/badge.svg
    :target: https://pypi.python.org/pypi/mongoengine-mls

.. image:: https://pypip.in/implementation/mongoengine-mls/badge.svg
    :target: https://pypi.python.org/pypi/mongoengine-mls

.. image:: https://pypip.in/status/mongoengine-mls/badge.svg
    :target: https://pypi.python.org/pypi/mongoengine-mls

.. image:: https://pypip.in/wheel/mongoengine-mls/badge.svg
    :target: https://pypi.python.org/pypi/mongoengine-mls

.. image:: https://pypip.in/egg/mongoengine-mls/badge.svg
    :target: https://pypi.python.org/pypi/mongoengine-mls

.. image:: https://pypip.in/format/mongoengine-mls/badge.svg
    :target: https://pypi.python.org/pypi/mongoengine-mls

.. image:: https://pypip.in/license/mongoengine-mls/badge.svg
    :target: https://pypi.python.org/pypi/mongoengine-mls

Simple extension for MongoEngine, which adds MultiLingualField (based on
MultiLingualString). Some self-describing examples:

.. code-block:: python

    from locale import setlocale, LC_ALL
    from mongoengine import Document, connect
    from mongoengine_mls import MultiLingualField

    class Country(Document):
        meta = {"indexes": ["name.language"]}
        name = MultiLingualField(required=True)

    setlocale(LC_ALL, "en_US.UTF-8")
    connect("test")

    ru = Country(name={"en": "Russia", "ru": u"Россия"})
    ru.save()

    print(ru.name)  # => Russia
    print(ru.name >> "ru")  # => Россия

    ru2 = Country.objects.first()
    ru2.name = [
        {"language": "en", "value": "Russian Federation"},
        {"language": "ru", "value": u"Российская Федерация"}
    ]
    ru2.save()

    print(ru2.name)  # => Russia Federation
    print(type(ru2.name))  # => <class 'mls.MultiLingualString'>