semvec/pypi-packages huggingface dataset:
campos 1.0.1
Helps you to quickly create and generate fully functional forms
License: MIT

campos
======

campos can generate forms from your model objects or help you to easily create
them using fields as building blocks. Take a minute to check examples dir.

Requirements
============

* Python 3+
* QtPy
* You need PyQt5, PyQt4 or PySide installed in your system to make use of
  *campos*. If several of these packages are found, ``PyQt5`` is used by
  default unless you set the ``QT_API`` environment variable.

  ``QT_API`` can take the following values:

    - pyqt5 (to use PyQt5).
    - pyqt or pyqt4 (to use PyQt4).
    - pyside (to use PySide).

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

You can use pip

``pip install campos``

or install it from the source package

``python setup.py install``

License
=======

This project is licensed under the MIT license.
wrimg 0.4
An alternative to dd for writing images to sd-cards
License: MIT

wrimg
=====

``wrimg`` is an alternative for dd to write images to removable media. It has
the following advantages:

* Syncs buffers after each chunk is written, allowing ``C-c`` to work
* For the same reason ``wrimg`` can make accurate predictions about the remaining time
* Automatically adjusts buffer size when copying
* Contains extra safety-checks to keep you from accidentally erasing your
  hard drives!

It is slightly slower than ``dd``, with common SD-card/USB data rates usually a
second or two. Copying between two very fast devices (like SSD-to-SSD) is
better left to ``dd``.


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

``wrimg`` can be installed from PyPI_::

  $ pip install wrimg

.. _PyPI: http://pypi.python.org/wrimg


Usage
-----

Usage is straightforward:

  $ wrimg someimg.iso -t /dev/sdX

The ``--target/-t`` can be omitted, causing wrimg to display a menu of suitable
targets. For other options, check the ``--help`` option.
cellbell 0.0.3
Bell magic for jupyter notebook
License: MIT
Keywords: ipython,magic,bell,notification

=============================
cellbell
=============================

Bell magic for IPython. Rings a bell when cell evaluation (IPython shell or
Jupyter notebook) is complete.

``pip install cellbell``

Use as cell or line magic::

    # Import
    import cellbell

    # line magic
    %ding my_long_function()

    # cell magic
    %%ding
    time.sleep(4)
    my_long_function()
    time.sleep(2)
    print("done")

Can also be used directly by calling ``ding``::

    # Import
    import cellbell

    cellbell.ding()


Inspired by `ipython-bell <https://github.com/samwhitehall/ipython-bell>`_, but
works on all systems by playing a wav.
aws-spot-fleet-helper 0.2.0
Python library to help launching a fleet of Spot instances within AWS infrastructure
License: MIT
Keywords: aws,boto3,spot-fleet,spot,fleet,amazon web services

AWS Spot Fleet Helper

Python library to help launching a fleet of Spot instances within AWS infrastructure

Functionality is also available via CLI:

$ spot_fleet_config.py --help
usage: spot_fleet_config.py [-h] -bid-value BID_VALUE -ssh-key-name
                            SSH_KEY_NAME -ami-id AMI_ID -iam-role IAM_ROLE
                            -instance-type INSTANCE_TYPE [INSTANCE_TYPE ...]
                            -security-group SECURITY_GROUP
                            [SECURITY_GROUP ...] -subnet-id SUBNET_ID
                            [SUBNET_ID ...]
                            [--assign-public-ip ASSIGN_PUBLIC_IP]
                            [--fleet-role FLEET_ROLE] [--user-data USER_DATA]
                            account-id

Tool to launch a fleet of Spot instances within AWS infrastructure

positional arguments:
  account-id            AWS account id

optional arguments:
  -h, --help            show this help message and exit
  -bid-value BID_VALUE  Maximum bid value per VCPU in USD
  -ssh-key-name SSH_KEY_NAME
                        SSH key name to be used
  -ami-id AMI_ID        Amazon Machine Image id to deploy
  -iam-role IAM_ROLE    Instance IAM role
  -instance-type INSTANCE_TYPE [INSTANCE_TYPE ...]
                        Instance types to deploy (ex: c3.4xlarge, m3.medium)
  -security-group SECURITY_GROUP [SECURITY_GROUP ...]
                        Security Group ids to deploy
  -subnet-id SUBNET_ID [SUBNET_ID ...]
                        Subnet ids to deploy
  --assign-public-ip ASSIGN_PUBLIC_IP
                        Assign public ip to launched instances
  --fleet-role FLEET_ROLE
                        IAM role used to deploy assets (default:
                        aws_spot_fleet_helper-ec2-spot-fleet-role)
  --user-data USER_DATA
                        User data to be included in instance launch
                        configuration. File name or "-" for reading from stdin
t77-date 0.5.0
A set of functions related with dates
License: MIT

python-t77-date
===============

.. image:: https://travis-ci.org/tomi77/python-t77-date.svg?branch=master
   :target: https://travis-ci.org/tomi77/python-t77-date
.. image:: https://coveralls.io/repos/github/tomi77/python-t77-date/badge.svg?branch=master
   :target: https://coveralls.io/github/tomi77/python-t77-date?branch=master
.. image:: https://codeclimate.com/github/tomi77/python-t77-date/badges/gpa.svg
   :target: https://codeclimate.com/github/tomi77/python-t77-date
   :alt: Code Climate

A set of functions related with dates

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

Install via ``pip``

::

   pip install t77_date

datetime module
---------------

start_of_day
~~~~~~~~~~~~

Return a new datetime with values that represent a start of a day.

Example
::

   >>> dt = datetime(2016, 7, 2, 21, 49, 12)
   >>> sod = start_of_day(dt)
   >>> print(sod)
   2016-07-02 00:00:00

end_of_day
~~~~~~~~~~

Return a new datetime with values that represent a end of a day.

Example
::

   >>> dt = datetime(2016, 7, 2, 21, 49, 12)
   >>> eod = end_of_day(now)
   >>> print(eod)
   2016-07-02 23:59:59.999999

start_of_month
~~~~~~~~~~~~~~

Return a new datetime with values that represent a start of a month.

Example
::

   >>> dt = datetime(2016, 7, 2, 21, 49, 12)
   >>> som = start_of_month(dt)
   >>> print(som)
   2016-07-01 00:00:00

end_of_month
~~~~~~~~~~~~

Return a new datetime with values that represent a end of a month.

Example
::

   >>> dt = datetime(2016, 7, 2, 21, 49, 12)
   >>> eom = end_of_day(now)
   >>> print(eom)
   2016-07-31 23:59:59.999999

set_next_week_day
~~~~~~~~~~~~~~~~~

Set week day.
New date will be greater or equal than input date.

Example
::

   >>> saturday = datetime(2016, 7, 2, 21, 49, 12)
   >>> next_friday = set_next_week_day(saturday, ISO_FRIDAY, iso=True)
   >>> print(next_friday)
   2016-07-08 21:49:12
   >>> next_friday = set_next_week_day(saturday, FRIDAY, iso=False)
   >>> print(next_friday)
   2016-07-08 21:49:12

set_prev_week_day
~~~~~~~~~~~~~~~~~

Set week day.
New date will be less or equal than input date.

Example
::

   >>> saturday = datetime(2016, 7, 2, 12)
   >>> prev_friday = set_prev_week_day(saturday, ISO_FRIDAY, iso=True)
   >>> print(prev_friday)
   2016-07-01 21:49:12
   >>> prev_friday = set_prev_week_day(saturday, FRIDAY, iso=False)
   >>> print(prev_friday)
   2016-07-01 21:49:12