semvec/pypi-packages huggingface dataset:
cgiFileUpload 0.1.5dev
file import via CGI
License: MIT

CGI Image Thumbnailer
============================

*Author* Robert Sudwarts

For uploading files via web interface.

Basic scope of the problem
---------------------------

Functionality for:

  * uploading large files using buffered chunks
  * scaling down large images
  

Package Components
---------------------

    #. upload.writefile() accepts a FieldStorage instance and writes in
       buffered chunks to the specified directory.
    #. Image files can be written 'as is' or scaled to a specified size and
       [at the same time] as a thumbnail image of a specified size.
    #. A `Thumb` class to check for existence of thumbnail/create/delete etc


Change Log
------------

 * v.0.1.5 when scaling image to thumbnail image is given file extension .jpg 
           
 * v.0.1.4 added "Pillow>=2.0.0" as a dependency to setup.py.
           This package is required instead of PIL

 * v.0.1.3 added conditional 'scale' to writefile() so that this package can be used for all types of files (not just images)
costa-ci 0.0.4
CI relateds scripts using openstack
License: MIT

costa-ci
================

About
-----

A Python module for CI related scripts for openstack

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

Install using pip or easy_install:

::

	pip install costa-ci

You can also clone the Git repository from Github and install it manually:

::

    git clone https://github.com/larrycai/costa-ci.git
    python setup.py install

Running the demo
-----

Prepare controller node to run the script, for example one VM inside openstack, inside this VM

1. access to the openstack 

Download the `trystack-openrc.sh` and load it

::
    
    # source trystack-openrc.sh

2. Install extra packages & config

::

    # pip install costa-ci # or download the packages
    # apt-get install python-fabric
    # ssh-keygen # if .ssh/id_rsa doesn't exist
    # wget http://mirrors.jenkins-ci.org/war/latest/jenkins.war # for tested packages as demo
    # # update the costa-ci.conf for the VM 

3. Generate 

::
    
    # ./costa.py -c costa-ci.conf -t vm,deploy,verify

See the docs and unit tests for more examples.

NOTE: Unicode characters identified as "illegal or discouraged" are automatically
stripped from the XML string or file.