semvec/pypi-packages huggingface dataset:
pylease 0.3.2
Easy package versioning and release management
License: MIT
Keywords: release version versioning

Pylease
=======

.. image:: https://travis-ci.org/n9code/pylease.svg?branch=master
    :target: https://travis-ci.org/n9code/pylease
    :alt: Build Status

.. image:: https://landscape.io/github/n9code/pylease/master/landscape.svg?style=flat
    :target: https://landscape.io/github/n9code/pylease/master
    :alt: Code Health


.. image:: https://coveralls.io/repos/n9code/pylease/badge.svg?branch=master
    :target: https://coveralls.io/r/n9code/pylease?branch=master
    :alt: Code Coverage

.. image:: https://img.shields.io/badge/license-MIT-blue.svg
    :target: https://raw.githubusercontent.com/n9code/pylease/master/LICENSE
    :alt: License

Pylease is a simple package that tends to ease the release process of a regular Python package. The aim of Pylease is to make it as
simple as possible by requiring as little as possible. For more details on using Pylease please see the `documentation <http://pylease
.n9co.de>`_.

Basic Usage
-----------

Start using pylease by just navigating to you package root (the directory containing ``setup.py``) and simply use the command-line::

    $ pylease status

Now you will see basic information about your package, like name and version. Then take a try and do::

    $ pylease make --dev

This will release the package with version '1.0.dev1', i.e. update the version in setup.py. The release levels include ``major, minor,
patch and dev``.

If you want to initiate a branch new project, perform this::

    $ pylease init my_project

This will prepare and create all needed files and directories for your project skeleton.

Extensions
----------

Pylease also comes with extensions mechanisms. It includes some useful extensions that might be used in combination as well as anyone can
write extensions for Pylease to enhance it.

Git
~~~

Git extension provides functionality to automatically create a tag on the
git repository associated with the version, and commit the changes made to
the ``setup.py``.

This may be achieved by simply adding ``--git-tag`` argument while calling
pylease::

    $ pylease make --minor --git-tag

After making the release, you will additionally have a new commit
containing the setup.py update as well as a new tag pointing to that commit.

PyPI
~~~~

PyPI extension provides an ability to automatically upload you package distribution to `PyPi
<http://pypi.python.org>`_ after releasing your project. To enable this feature use the ``--pypi``
command line option::

    $ pylease make --major --pypi
CloudStackClient 0.1.2
CloudStack API Client
License: MIT

CloudStack Python Client
========================

Python client library for the CloudStack User API. For older versions,
see the [tags](https://github.com/terbolous/cloudstack-python-client/tags).


from https://github.com/terbolous/cloudstack-python-client


Examples
--------

List all virtual machines

```python
#!/usr/bin/python

import CloudStack

api = 'http://example.com:8080/client/api'
apikey = 'API KEY'
secret = 'API SECRET'

cloudstack = CloudStack.Client(api, apikey, secret)

vms = cloudstack.listVirtualMachines()

for vm in vms:
    print "%s %s %s" % (vm['id'], vm['name'], vm['state'])
```


   
Asynchronous tasks

```python
#!/usr/bin/python

import CloudStack

api = 'http://example.com:8080/client/api'
apikey = 'API KEY'
secret = 'API SECRET'

cloudstack = CloudStack.Client(api, apikey, secret)

job = cloudstack.deployVirtualMachine({
    'serviceofferingid': '2',
    'templateid':        '214',
    'zoneid':            '2'
})

print "VM being deployed. Job id = %s" % job['jobid']

print "All Jobs:"
jobs = cloudstack.listAsyncJobs({})
for job in jobs:
    print  "%s : %s, status = %s" % (job['jobid'], job['cmd'], job['jobstatus'])

```

TODO:
-----
There is a lot to do to clean up the code and make it worthy of production. This
was just a rough first pass.

=======
History
=======

Version 0.1.1
-------------
Initial version after renaming and rebuilding.
Merging a lot of forks to improve usability and hopefully stabililty.

=======
AUTHORS
=======

- Jason Hancock <jsnbyh@gmail.com>
- Kraig Amador <kamador@shopzilla.com>
- Mike Rochford <michael.rochford@thomsonreuters.com>
- Gert Kremer <gkremer@schubergphilis.com>