semvec/pypi-packages huggingface dataset:
vapps 1.1.9
A command line client for executing va_master api commands.
License: MIT
Keywords: VapourApps

Vapps CLI
=============================
This product allows users to use the command line to call VA master API functions by using simple commands. 

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

```
pip install vapps
```

Usage
============================
The first time you use the command, it will prompt you for a username, password and the URL of Your VA master. ::


    # vapps providers list
    Could not find a va_master configuration - either the --load-conf path is incorrect, or a configuration has not been generated yet. Please answer the following prompts : 
    Enter the va_master username : admin
    Enter the va_master password : admin
    Enter the VA master url. Include the http:// and the port, example : https://127.0.0.1:443
    VA master url : https://127.0.0.1:443

    [   {   'driver_name': u'vmware',
            'location': u'va_master',
            'provider_name': u'va-vmware'}]



After this, a config file is generated which will use the entered credentials. ::


    # vapps apps list available

    [   {   u'location': u'va_master',
            u'provider_name': u'va-vmware',
            u'provider_usage': {   u'used_cpus': 95.0,
                                   u'used_disk': 134.41,
                                   u'used_ram': 0.01,
                                   u'used_servers': 9},
            u'servers': [   {   u'hostname': u'server_hostname',
                                u'icon': u'fa-server',
                                u'ip': None,
                                u'provider': u'va-vmware',
                                u'size': u'va-small',
                                ...
                            }
                        ]
        }
    ]



Available Commands
=================================
providers
    list - Prints a list of all providers and their name, location and driver name. 

apps
    list 
        available - Prints a list of all apps. 
        running - Prints a list of all running apps. #Not yet implemented, also returns all apps. 

    directory #Not yet implemented

services
    list - Prints all consul services
        ok - Prints all services which returned with status "passing"
        critical - Prints all services which returned with status "critical"

vpn
    list - Lists all VPN users
    status - Returns the status of VPN users
    add - Creates a new VPN user. With --username, the user will be created with this username. Example ``vapps vpn add --username new_vpn_user``
    get-cert - Prints the VPN certificate for the user. With --username, the user for which the certificate is retrieved. Example ``vapps vpn get-cert --username some_vpn_user``
folmon 1.0.0
Utility to monitor folder size.
License: MIT
Keywords: Monitoring folder size

# foldersize
WIP : Just a tool to monitor folder and sub-folder sizes over time. 


## Sample
```
(test) arun@fedora:~$ folmon diff -s 2018-05-05 -e 2018-05-07 -f /log/fruit
+---+-------------------+------------+------------+---------------------+
|   |       folder      | 2018-05-05 | 2018-05-07 | percentage_increase |
+---+-------------------+------------+------------+---------------------+
| 0 |     /log/fruit    |   16.621   |   28.968   |        74.292       |
| 1 |  /log/fruit/apple |   5.573    |   9.773    |        75.371       |
| 2 | /log/fruit/grapes |   5.513    |   9.572    |        73.639       |
| 3 | /log/fruit/orange |   5.535    |   9.624    |        73.856       |
+---+-------------------+------------+------------+---------------------+
(test) arun@fedora:~$ folmon diff -s 2018-05-05 -e 2018-05-10 -f /log/
+---+-------------------+------------+------------+---------------------+
|   |       folder      | 2018-05-05 | 2018-05-10 | percentage_increase |
+---+-------------------+------------+------------+---------------------+
| 0 |     /log/fruit    |   16.621   |   41.417   |       149.191       |
| 1 |  /log/fruit/apple |   5.573    |   13.94    |       150.157       |
| 2 | /log/fruit/grapes |   5.513    |   13.703   |       148.585       |
| 3 | /log/fruit/orange |   5.535    |   13.773   |       148.823       |
| 4 |      /log/veg     |   9.248    |   23.101   |       149.801       |
| 5 |  /log/veg/brinjal |    4.59    |   11.447   |       149.404       |
| 6 |  /log/veg/tomato  |   4.658    |   11.654   |       150.193       |
+---+-------------------+------------+------------+---------------------+
```
NGLessPy 0.2.2
NGLessPy: Python interface to NGLess
License: MIT

# NGLessPy: NGLess as a Python Embedded Language

This is a variation of [NGLess](http://ngless.embl.de) as an embedded language
in Python, thus enabling processing of next generation data through a Python
API. See the example below.

[![Build Status](https://travis-ci.org/luispedro/nglesspy.svg?branch=master)](https://travis-ci.org/luispedro/nglesspy)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/hyperium/hyper/master/LICENSE)
[![Join the chat at https://gitter.im/luispedro/ngless](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/luispedro/ngless?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

This is **very experimental** and can change at any time. Please [get in
touch](mailto:coelho@embl.de) if you want to use it in your work. For
questions, you can also use the [ngless mailing
list](https://groups.google.com/forum/#!forum/ngless).

## Dependencies

- [requests](http://docs.python-requests.org/)
- [NGLess](http://ngless.embl.de)

NGLesspy can auto-install ngless if it needs to.

NGLesspy is compatible with Python 2.7 and 3.4+.

## Example


Inside the [bin/](https://github.com/luispedro/nglesspy/tree/master/bin)
directory, you will find several simple scripts exposing NGLess functionality
as command line tools. These are also simple examples of how NGLessPy can be
used.

See the [tutorial](http://ngless.embl.de/nglesspy.html) for a more thorough
explanation of what is going on in the example below.

```python
    from ngless import NGLess

    sc = NGLess.NGLess('0.8')

    sc.import_('mocat', '0.0')
    e = sc.env

    e.sample = sc.load_mocat_sample_('testing')

    @sc.preprocess_(e.sample, using='r')
    def proc(bk):
        bk.r = sc.substrim_(bk.r, min_quality=25)

    e.mapped = sc.map_(e.sample, reference='hg19')
    e.mapped = sc.select_(e.mapped, keep_if=['{mapped}'])

    sc.write_(e.mapped, ofile='ofile.sam')

    sc.run()
```

This is equivalent to the NGLess script


    ngless '0.8'
    import 'mocat' version '0.0'

    sample = load_mocat_sample('testing')

    preprocess_(sample) using='r':
        r = substrim(r, min_quality=25)

    mapped = map(sample, reference='hg19')
    mapped = select(mapped, keep_if=[{mapped}])

    write(mapped, ofile='ofile.sam')