semvec/pypi-packages huggingface dataset:
pydons 0.2.5
Python data manimulation add-ons
License: MIT
Keywords: hdf5 netCDF matlab

Pydons is a collection of manipulation add-ons for hierarchichal numerical data.

MatStruct class
---------------

MatStruct is an ordered dict with string-only keys, which are accessible also
as properties. This makes the notation easier (``obj.group.subgroup.variable`` instead of 
``obj['group']['subgroup']['variable']``) and enables IPython's auto complete.

MatStruct can be serialized to HDF5 or Matlab files using the excellent
`hdf5storage <https://github.com/frejanordsiek/hdf5storage>`_ package.

LazyDataset class
-----------------

A lazy evaluate proxy class for data sets in HDF5 or netCDF4 files.

FileBrowser class
-----------------

FileBrowser employs MatStruct and LazyDataset to enable easy and fast browsing
of netCDF4 or HDF5 files.

Examples
--------

Items can be added using either ['keys'] or .properties:

::

  import pydons
  import numpy as np
  struct = pydons.MatStruct()
  struct['string'] = 'A string'
  struct.list = ['list', 0, [1, 2]]
  struct.numpy = np.random.rand(3,3)

IPython representation is customized:

::

  In [12]: struct
  Out[12]: 
  string: A string
    list: ['list', 0, [1, 2]]
   numpy: [[ 0.71539338  0.69970494  0.19328026]
   [ 0.28645949  0.15262059  0.23362895]
   [ 0.14518748  0.79911631  0.22522526]]

MatStruct can be serialized to HDF5 or Matlab files using 
``saveh5`` and ``savemat`` methods:

::

  In [15]: struct.saveh5('struct.h5')
  In [16]: pydons.MatStruct.loadh5('struct.h5')
  Out[16]: 
    list: ['list', 0, [1, 2]]
   numpy: [[ 0.71539338  0.69970494  0.19328026]
   [ 0.28645949  0.15262059  0.23362895]
   [ 0.14518748  0.79911631  0.22522526]]
  string: A string

(the field order is not maintained---to be fixed soon). 

This software is distributed under the MIT license (see the LICENSE file).

Documentation
-------------

`pydons.readthedocs.org <http://pydons.readthedocs.org/>`_
ognom 0.5.4
Neat ODM wrapper around great PyMongo driver
License: MIT
Keywords: mongo mongodb pymongo orm odm

ognom
=====

.. image:: https://travis-ci.org/lorehov/ognom.svg
    :target: https://travis-ci.org/lorehov/ognom
    :alt: Build Status

.. image:: https://img.shields.io/pypi/v/ognom.svg
    :target: https://pypi.python.org/pypi/ognom
    :alt: Latest Version

Documentation:  #TODO

Ognom is object-to-document mapper for `mongodb <https://www.mongodb.org>`_. Currently ognom uses `pymongo <https://api.mongodb.org/python/current/>`_ as default backend, 
but you can easily implement your own backend based on another driver (for example `asyncio-mongo <https://pypi.python.org/pypi/asyncio_mongo>`_) if needed, 
as serialization and storage logic in ognom are separated.
 
Supports python2.7+, python3.3+, PyPy. 

Documentation:  #TODO


Install
-------

.. code-block:: python

    pip install ognom

Tests
-----

.. code-block:: python

    tox

Features
--------

- Vanilla python, no dependencies;
- From version 1.0 exposes full pymongo API(!);
- Easy to write your own backend with your own API.

Quickstart
----------

.. code-block:: python

    from ognom.base import ConnectionManager, Document, Collection
    from ognom.fields import StringField, IntField
    
    ConnectionManager.connect({
        'main': {  # ognom use aliases for databases to make it possible to use multiple db's per project
            'name': 'birzha_main',
            'args': ['127.0.0.1:27017'],
            'kwargs': {'socketTimeoutMS': 60000}},})


    class Foo(Document):
        objects = Collection(
            db_name='main'
            collection_name='my_foos'  # collection name (by default 'foos')
            indexes=[{
                'index': [('bar', 1), ('baz', -1)],
                'background': True}])
    
        bar = StringField(required=True, default='baaar')
        baz = IntField(choices=[10, 20, 30, 40, 50])


    foo1 = Foo.objects.create({'bar': 'lalala'})
    assert Foo.objects.get({'bar': 'lalala'}).id == foo1.id
    
    foo2 = Foo(bar='lololo', baz=10)
    assert foo2.id is None
    foo2.save()
    assert foo2.id is not None
    foo2.remove()
    
    foos = Foo.objects.find({'bar': 'lalala'})  # not list but CursorWrapper!
    assert len(list(foos)) == 1
    

Contributors
------------

* Lev Orekhov `@lorehov <https://github.com/lorehov>`_
* Michael Elovskikh `@wronglink <https://github.com/wronglink>`_
* Sardnej `@sardnej <https://github.com/sardnej>`_
check_bacula 1.0.0
This tool checks the status of the backup jobs on a Bacula server.
License: MIT

.. image:: https://travis-ci.org/exonet/check-bacula.svg?branch=master
  :target: https://travis-ci.org/exonet/check-bacula
  :alt: Build Status

.. image:: https://coveralls.io/repos/exonet/check-bacula/badge.svg?branch=master&service=github
  :target: https://coveralls.io/github/exonet/check-bacula?branch=master

The goal of this tool is to check the status of the backup jobs on a Bacula server. If jobs have
failed, an e-mail will be sent to the configured address in ~/.check_bacula/config.ini. One mail is
sent per job failed.
pyknon 1.2
Simple Python library to generate music in a hacker friendly way.
License: MIT

# Introduction

Pyknon is a simple music library for Python hackers. With Pyknon you
can generate Midi files quickly and reason about musical
properties.

Pyknon works with Python 2.7 and 3.2.

# Usage

Pyknon is very simple to use, here's a basic example to create 4 notes
and save into a MIDI file::

```python
from pyknon.genmidi import Midi
from pyknon.music import NoteSeq

notes1 = NoteSeq("D4 F#8 A Bb4")
midi = Midi(1, tempo=90)
midi.seq_notes(notes1, track=0)
midi.write("demo.mid")
```

See the documentation for more details.

# Documentation

Pyknon needs better documentation. Meanwhile you can download [this free chapter](https://s3.amazonaws.com/musicforgeeksandnerds.com/Pyknon+from+Music+for+Geeks+and+Nerds.pdf) from [Music for Geeks and Nerds](http://musicforgeeksandnerds.com) that explains how to use Pyknon.

# License

This library is released under a MIT license. See the [LICENSE](LICENSE) file for
more details.

Pyknon's MIDI module is heavily based on Mark Conway Wirt's MIDIUtil.
ghosttag 0.0.1
Tag updater for Ghost
License: MIT

# ghost-tag-updater
A Python script to list, update, and delete your Ghost blog's tags.

# Install

```
$ pip install ghosttag
```

# Usage

Warning: Make a backup of your database first! You can do it like so:

```
$ cp ghost-dev.db ghost-dev.db.bak

    list [--db-path=<path>]

Lists all the ghost tags in your database

    update [--db-path=<path>] [--id=<tag-id>] [--name=<tag-name>] [--slug=<slug-name>]

Update the name or slug of a tag. Id is mandatory (you can find it by using the list command). You can define the name, slug, or both.

    delete  [--db-path=<path>] [--id=<tag-id>]
    
Deletes the specific tag.
    
  
# Requirements

* docopt: Creates beautiful command line interfaces easily.
* tabulate: Pretty-print tabular data

# Contributing

Feel free to make your own PR