semvec/pypi-packages huggingface dataset:
pyvas 0.5.0
An OpenVAS Managment Protocol (OMP) v7 client for Python
License: MIT
Keywords: openvas omp client

pyvas: OMPv7 for Python
=======================

|Build Status| |Coverage|

An OpenVAS Managment Protocol (OMP) v7+ client for Python.

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

To install pyvas, simply run:

.. code-block:: bash
    
    $ pip install pyvas

Usage
-----

.. code-block:: python
    
    >>> from pyvas import Client
    >>> with Client(hostname, username='username', password='password') as cli:
    >>>     r = cli.list_tasks()
    >>>     r.ok
    True
    >>>     r.data
    [{u'@id': '...', ...}, {u'@id': '...', ...}]
    >>>     r = cli.get_task(task[0]["@id"])
    >>>     r.ok
    True
    >>>     r.data
    {u'@id': '...', ...}

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

Documentation is currently a work in progress, please check back soon.


How to Contribute
-----------------

#. Look for open issues or report an issue
#. Checkout a new branch from master and work away
#. Remember to include tests 
#. Submit a pull request!

.. |Build Status| image:: https://travis-ci.org/mpicard/pyvas.svg?branch=master
   :target: https://travis-ci.org/mpicard/pyvas

.. |Coverage| image:: https://coveralls.io/repos/github/mpicard/pyvas/badge.svg
    :target: https://coveralls.io/github/mpicard/pyvas
modeldb-basic 0.1.35
A system to manage machine learning models
License: MIT
Keywords: Machine Learning ML model catalog

=============
modeldb-basic
=============
.. image:: https://img.shields.io/travis/engapa/modeldb-basic/master.svg?style=flat-square
   :target: http://travis-ci.org/engapa/modeldb-basic
   :alt: Build Status
.. image:: https://img.shields.io/pypi/v/modeldb-basic.svg?style=flat-square
   :target: https://pypi.org/project/modeldb-basic
   :alt: Version
.. image:: https://img.shields.io/pypi/pyversions/modeldb-basic.svg?style=flat-square
   :target: https://pypi.org/project/modeldb-basic
   :alt: Python versions

A basic python client for working with `ModelDB machine learning management system <http://modeldb.csail.mit.edu>`_.

Visit the original project at :  https://github.com/mitdbg/modeldb

This project goal is to try isolate a basic client to operate within model database, where main features will be:

- Sync projects/models from file (json, yaml)
- Sync projects/models by using basic mechanism (without sklearn dependencies)
- Python 2.7 and 3.{5,6} compatibility.

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

Install
-------

Remotely
""""""""

The most widely known way to install a python package is by **pip** command.
The python package is available at [pypi repository](https://pypi.org/project/modeldb-basic/) (legacy repo [here](https://pypi.python.org/pypi/modeldb-basic)).

Just type this ``pip`` command to install it from pypi package repository::

 pip install modeldb-basic


Alternatively it's possible to install it by using any of these URLs:

* ``pip install git+https://github.com/engapa/modeldb-basic[@<git_ref>]#egg=modeldb-basic``
* ``pip install <release_file>``

Where [@<git_ref>] is an optional reference to a git reference (i.e: @master, @v0.1.6) and
<release_file> is the URL of one release file at https://github.com/engapa/modeldb-basic/releases

Locally
"""""""

Previously downloaded in your host, somebody may install the package by typing::

 pip install .

or::

 python setup.py install
popy 0.3.0
Parser for GNU Po files
License: MIT

===========
popy
===========

.. image:: https://travis-ci.org/murataydos/popy.svg
  :target: https://travis-ci.org/murataydos/popy/
.. image:: https://coveralls.io/repos/murataydos/popy/badge.svg 
  :target: https://coveralls.io/r/murataydos/popy
  
Parser for GNU Po files

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

Install using pip::

    pip install popy


Usage
============

Using popy to parse a PO file::

    from popy.po_file import PoFile  
  
    f = PoFile(path='/path/to/your/file.po')
    messages = f.get_messages() # gets all the messages  
    messages[0]
    # MessageEntry object
    messages[0].msgid
    # First message's msgid
    messages[1].msgstr
    # Second message's msgstr as a list
    
    
MessageEntry object
-------------------
These are the attributes::

    msgid: str
    msgstr: list of strings  
    msgid_plural: str  
    msgctxt: str  
    translator_comments: list of strings  
    extracted_comments: list of strings  
    references: list of strings  
    flags: list of strings  
    is_fuzzy: boolean
  
These are the important methods::

    fix_newline_matching() 
    # Adds or removes newlines to/from msgstr in order to match msgid and msgstr newlines at the beginning or end.
    
    __str__()
    # Generates a message block
    
    
PoFile object
-------------------
These are the attributes::

    path: str
    messages: list of MessageEntry objects  
  
These are the important methods::

    get_messages()
    # Reads messages and returns list of MessageEntry objects

    write_messages()
    # Writes MessageEntry objects into the file

    fix_newline_matching() 
    # Applys fix_newline_matching to the whole file
    
    __str__()
    # Generates a message block