semvec/pypi-packages huggingface dataset:
pylzfse 0.2
Python bindings for the LZFSE reference implementation
License: MIT

             _      __
 _ __  _   _| |____/ _|___  ___
| '_ \| | | | |_  / |_/ __|/ _ \
| |_) | |_| | |/ /|  _\__ \  __/
| .__/ \__, |_/___|_| |___/\___|
|_|    |___/

Overview
========

pylzfse is a Python (https://www.python.org/) module that provides LZFSE
compression and decompression through the reference implementation provided by
Apple (https://github.com/lzfse/lzfse).

Building
========

  $ git clone --recursive https://github.com/dimkr/pylzfse
  $ python setup.py build

Credits and Legal Information
=============================

pylzfse is free and unencumbered software released under the terms of the MIT
license; see COPYING for the license text. For a list of its authors and
contributors, see AUTHORS.

The ASCII art logo at the top was made using FIGlet (http://www.figlet.org/).
hidash 0.2.29
A Django app to generate google charts, excel and pdf straight from the database.
License: MIT
Keywords: Chart,reports,Export,django,dashboard,google charts,excel,pdf

The Project can be explained as follows:

- Provide the chart details in an xml file.

- Provide the path to your xml in your settings.py.

- Make API calls to fetch the chart data as supported by Google Charts generated directly from your database. Or, you can just use our

- Javascript library to get the chart directly using an angular directive <hi-dash> without making any API calls manually.

- Use our APIs to generate reports of the charts in excel or pdf format.

- UI Ready Dashboard- Group reports in the xml file and see all the charts in a single page by just hitting a single url and writting zero lines of code.
csvputty 0.1.0
CSV CLI utility functions and packages in Python.
License: MIT
Keywords: csv command line cli

csvputty
========

*Command-fu with csv files*

A set of command line interfaces and python modules for easily
manipulating, transforming and dealing with csv files quickly and
effectively.

CLI Usage
---------

All csvputty commands start with ``csvputty``, optionally any
input/output files you wish to use, and then the command you wish to
perform.

If you do not supply i/o files then csvputty will use stdin/stdout
instead.

Example:

``$ csvputty -i data.csv -o out.txt``

markup
~~~~~~

This command will take the selected columns of a CSV file, process each
row through a format string, and return the collective output. For
example:

``$ csvputty -i data.csv -o rendered.html markup 0 1 3 template.html``

This parses each row of ``data.csv`` using the content of
``template.html`` as a format string and saves to ``rendered.html``.

In the above example, ``template.html`` could be the following:

.. code:: html

    <div class="row">
      <div class="col-sm-4">{}</div>
      <div class="col-sm-4">{}</div>
      <div class="col-sm-4">{}</div>
    </div>

or

.. code:: html

    <div class="row">
      <div class="col-sm-4">{coconuts}</div>
      <div class="col-sm-4">{cheese}</div>
      <div class="col-sm-4">{sausages}</div>
    </div>

If used with the ``-h --header`` flag the first row of the CSV is used
to key the template.

However csvputty really becomes useful in the full context of the
command line. Take the following example:

``$ cat data1.csv data2.csv | csvputty -o rendered.html markup 0 1 template.html``

This passes ``data1.csv`` and ``data2.csv`` through the same template
and renders them together in a single file.

``csvputty -i data.csv markup 0 1 -``

This opens stdin allowing you to enter the template via command line and
prints the results to stdout.

diff
~~~~

Diff compares the input CSV against another CSV and outputs rows where
selected columns fulfil the match condition.

``$ cat subtract1.csv subtract2.csv | csvputty -i source.csv -o out.csv diff -sc 18 -``

The above example returns rows from ``source.csv`` where column 18 is
not found on column column 0 anywhere in ``subtract1.csv`` or
``subtract2.csv``.

Package Usage
-------------

Importing csvputty into your project allows you to use some features
unavailable via the command line interface.

For example:

.. code:: python

    import csvputty


    def parse_row(row, row_index):
        for idx, col in enumerate(row):
            row[idx] = col.strip().replace("&", "&amp;")
        img_url = row[2].lower().replace(" ", "_").replace('&amp;', 'and')
        insta_url = row[4].replace("@", "")

        return (img_url, row[1], insta_url, row[3], row[6])


    input = open('data.csv', 'r')
    out = open('rendered.html', 'w')
    template = open('template.html', 'r')

    csvputty.markup.generate(custom_row_parser=parse_row, csv_file=input
                             template_file=template, out_file=out)

The above example allows me to strip whitespace and replace ampersands
with html entities on all columns, and perform further processing on
other columns.
pglogmon 1.0.0
Tool to monitor postgresql CSV logs
License: MIT
Keywords: postgresql sysadmin

Simple log monitor for PostgreSQL CSV logs.

To enable CSV logs, please refer to the PostgreSQL docs.

This monitor takes into account that some queries might contain newlines, and
properly parses the records.


Installation::

    pip install --user git+https://github.com/exhuma/postgresql-logmon.git


After running as user installation like above, run it like this::

    ~/.local/bin/pglogmon --help

Or start monitoring right away::

    ~/.local/bin/pglogmon /psth/to/postgresql.csv
rpsowmi 2017.4.11
Remote PowerShell over WMI (RPSoWMI)
License: MIT
Keywords: WMI,PowerShell,Remote

Remote PowerShell over WMI
--------------------------

Remote PowerShell over WMI (RPSoWMI) enables you to run PowerShell code with support of STDIN, STDOUT, STDERR and return code through Windows Management Instrumentation (WMI) on remote host.

Communication with your PowerShell code is done through 2 named pipes (one for outbound and another for inbound) being created on **executor's** machine, that means your access rights must be enough privileged not only for creation of new process on remote machine but also for access to the named pipes on executor's machine from remote machine.

How to use RPSoWMI::

  from rpsowmi import RemotePowerShellOverWmi as RPSoWMI
  from wmi import WMI  # https://pypi.python.org/pypi/WMI/

  rps = RPSoWMI(WMI())
  r = rps.execute("Write-Host 'Hello, world'")
  print(r.stdout)  # Just showing 'Hello, world'.

For more details, read pydoc of rpsowmi.RemotePowerShellOverWmi.

**Known problems**

* Length of your PowerShell code is limited up to around 2,800 characters because the code is tranfered as a part of command line arguments.
* Line separators - CR, LF and CRLF are unified to LF (`\\n`) somewhere in communication between RPSoWMI and your PowerShell code.
* Line separator - LF (`\\n`) may be appended to STDOUT and STDERR even though your PowerShell code doesn't do it.

**Version history**

* v2017.4.11: Initial release.

**Links**

|Build status|

* https://pypi.python.org/pypi/rpsowmi
* https://testpypi.python.org/pypi/rpsowmi

.. |Build status| image:: https://img.shields.io/appveyor/ci/sakurai_youhei/rpsowmi/master.svg?label=Build%20and%20test%20on%20Python%203.4%20to%203.6
   :target: https://ci.appveyor.com/project/sakurai_youhei/rpsowmi/branch/master
meieraha2 2.2.2
Meieraha version 2
License: MIT

==================================================================
Meieraha.ee visualization website source
==================================================================

Installation
------------

Depending on how you obtain the package, you may install it in different ways. If the package was obtained as a source distribution,
you should install it using ``pip``::

    $ pip install meieraha2-<version>.zip

If you checked out a development repository, you may install the package by running::

    $ python setup.py install

If you are planning on developing the package, a useful alternative to installation is::

    $ python setup.py develop

or, if you do not have write access to your Python installation and are not using a virtualenv::

    $ python setup.py develop --user

Usage
-----

The package contains a `Flask <http://flask.pocoo.org/>`_-based web application. To launch the application you need to do the following:

    1. Run::

       $ meieraha2-manage sampleconfig

    2. Follow the instructions output by the command.

To create a packaged distribution you need to run the following::

       $ meieraha2-manage assets build
       $ python setup.py sdist

Development
-----------

In order to run the application in development mode you need to have a full repository checked out. You also
should have the ``compass`` tool installed and accessible in your path. The server can then be run in development mode as follows::

    $ export CONFIG=meieraha2.config.DevConfig
    $ meieraha2-manage createdb
    $ meieraha2-manage loaddata
    $ meieraha2-manage runserver

If you edit CSS or Javascript files, you will need to rebuild the assets bundle via

    $ meieraha2-manage assets build

Deployment
-----------

There is a starter Fabric configuration file `fabfile.py` which may help automate deployment. It needs tayloring before used, though. Sample deployment configuration is in `deploy/aws`.

Copyright
-----------
 
 - The code was developed by Konstantin Tretyakov and Tanel Kärp with the help from many other people on the Meieraha team (see http://meieraha.ee)
 - The code is licensed as MIT, feel free to contribute.
 - The repository includes full distributions of some external libraries (to simplify deployment). Those are subject to their own licences. All are open source, though.
devlpr 0.1.0
Library to help software developers with their recurrent tasks
License: MIT

devlpr is a Python (2.7+ and 3.3+) library to help software developers with their recurrent tasks.
It provides a framework for development phases (build, draw dependency graphs, run unit tests, report coverage, etc.)
and helpers for some languages (currently Python and OCaml).

It's licensed under the `MIT license <http://choosealicense.com/licenses/mit/>`__.
It's available on the `Python package index <http://pypi.python.org/pypi/devlpr>`__,
its `documentation is hosted by Python <http://pythonhosted.org/devlpr>`__
and its source code is on `GitHub <https://github.com/jacquev6/devlpr>`__.

Questions? Remarks? Bugs? Want to contribute? `Open an issue <https://github.com/jacquev6/devlpr/issues>`__!

.. image:: https://img.shields.io/travis/jacquev6/devlpr/master.svg
    :target: https://travis-ci.org/jacquev6/devlpr

.. image:: https://img.shields.io/coveralls/jacquev6/devlpr/master.svg
    :target: https://coveralls.io/r/jacquev6/devlpr

.. image:: https://img.shields.io/codeclimate/github/jacquev6/devlpr.svg
    :target: https://codeclimate.com/github/jacquev6/devlpr

.. image:: https://img.shields.io/scrutinizer/g/jacquev6/devlpr.svg
    :target: https://scrutinizer-ci.com/g/jacquev6/devlpr

.. image:: https://img.shields.io/pypi/dm/devlpr.svg
    :target: https://pypi.python.org/pypi/devlpr

.. image:: https://img.shields.io/pypi/l/devlpr.svg
    :target: https://pypi.python.org/pypi/devlpr

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

.. image:: https://img.shields.io/pypi/pyversions/devlpr.svg
    :target: https://pypi.python.org/pypi/devlpr

.. image:: https://img.shields.io/pypi/status/devlpr.svg
    :target: https://pypi.python.org/pypi/devlpr

.. image:: https://img.shields.io/github/issues/jacquev6/devlpr.svg
    :target: https://github.com/jacquev6/devlpr/issues

.. image:: https://badge.waffle.io/jacquev6/devlpr.png?label=ready&title=ready
    :target: https://waffle.io/jacquev6/devlpr

.. image:: https://img.shields.io/github/forks/jacquev6/devlpr.svg
    :target: https://github.com/jacquev6/devlpr/network

.. image:: https://img.shields.io/github/stars/jacquev6/devlpr.svg
    :target: https://github.com/jacquev6/devlpr/stargazers

Quick start
===========

Install from PyPI::

    $ pip install devlpr

Import:

>>> from devlpr import *