semvec/pypi-packages huggingface dataset:
g5-lambda-psycopg2 0.1.7
Fork of awslambda-psycopg2
License: MIT
Keywords: aws,lambda,psycopg2

psycopg2 Python Library for AWS Lambda
======================================

This is a custom compiled psycopg2 C library for Python. Due to AWS Lambda
missing the required PostgreSQL libraries in the AMI image, we needed to
compile psycopg2 with the PostgreSQL `libpq.so` library statically linked
libpq library instead of the default dynamic link.

### How to use

This project only exists for python 3.7. The subsequent pypi package will only support python 3.7 as well.
It only includes the `with_ssl_support` version. Since that will generally be required for AWS lambda usage.

### Building from source
Go to the original package if you wish to modify this from source
pyraml-parser 0.1.9
Python parser for RAML.
License: MIT

pyraml-parser - Python parser to RAML, the RESTful API Modeling Language.


Introduction
============

Implementation of a RAML parser for Python based on PyYAML. It is compliant with RAML 0.8 http://raml.org/spec.html


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

The pyraml package can be installed with ``pip`` or ``easy_install`` from GIT repository or from tarball.

    $ pip install https://github.com/an2deg/pyraml-parser/archive/master.zip

For Python 2.6 packages ``ordereddict`` and 'lxml' should be installed:

    $ pip install ordereddict lxml


Developing pyraml-paser
-----------------------

You may need to install ``nose``, ``tox`` and ``mock`` packages to run pyraml-parser tests.

Typical installation process for developing purposes:

    $ git clone git@github.com:an2deg/pyraml-parser.git
    $ cd pyraml-parser
    $ pip install mock
    $ python setup.py develop

To run tests on all supported python versions:

    $ pip install tox
    $ tox

Or to run tests with ``nose``:

    $ pip install nose
    $ python -m nose

Or to run tests using ``unittest``:

    $ python setup.py test

Using pyraml-parser
===================

An instance of the ``RamlRoot`` object can be obtained by calling the ``pyraml.parser.load``
function:

    import pyraml.parser

    p = pyraml.parser.load('schema.raml')

    print p


MIT LICENSE
---

Copyright (c) 2011-2015 Jason Huck, Simon Georget
http://opensource.org/licenses/MIT

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


0.1.9 (2019-10-01)
==================

Bugfixes
--------

- Switch to PyYAML >= 5.1 (@mzagozen)

0.1.8 (2019-05-30)
==================

Bugfixes
--------

- Pin PyYAML to 3.13 as the last working version (@mzagozen)
- Use !include content as a string (@mzagozen)
- Fix unit tests (@mzagozen)

0.1.3 (2015-05-11)
==================

Features
--------

- Added Python3 support (https://github.com/an2deg/pyraml-parser/pull/18)
watson-jira 0.2.1
Format and upload Watson time logs to Jira as Tempo worklogs
License: MIT

[![CircleCI](https://circleci.com/gh/medwig/watson-jira.svg?style=shield)](https://circleci.com/gh/medwig/watson-jira)

# Watson-Jira

Upload watson time logs to Jira from the CLI! Selects Watson time logs whose project name matches
a Jira naming regex, formats those logs to Tempo format, and uploads to the appropriate Jira tickets.
Will not double-write logs, and makes no local edits.

## Install

`$ pip install watson-jira`


## Setup

API access to Jira needs to be enabled, this can be done one of 2 ways:

##### Guided:

`$ watson-jira init`

##### Manual:

1. Generate a Jira token: https://id.atlassian.com/manage/api-tokens#
2. Add this to `~/.netrc`:
```
	machine yoururl.atlassian.net
	login yourjiraemail@company.com
	password <<Jira Token>>
```
Replacing `<<Jira Token>>` with the token you copied from step 1.

The library will read `~/.netrc`, no further config needed!


## Usage

#### Show Jira-specific logs from today

`$ watson-jira logs --jira-only --tempo-format`


#### Show exixting worklogs for a Jira issue

`$ watson-jira logs tempo --issue JI-101`


#### Upload logs from the last 3 days

`$ watson-jira sync --from 3`


#### Help

`$ watson-jira --help`


Will install TD-Watson https://github.com/TailorDev/Watson as one of it's dependencies, not surprisingly.
html-cleaner 0.4.dev0
clean up html files
License: MIT
Keywords: html cleaner tidy

usage: clean up html files

positional arguments:
  files                 files or directories

optional arguments:
  -h, --help            show this help message and exit
  --processor PROCESSOR
                        number of process
  --encoding ENCODING   fallback to this encoding
  --no-script           remove js
  --css CSS_FILE        inject the content of CSS_FILE to html
  -r, --recursive       recursive into directory
  -p PATTERN, --pattern PATTERN
                        glob pattern
ox_update 0.2.0
Tools for updating software..
License: MIT
Keywords: updating packages

Introduction
============

The `ox\ :sub:`update` <https://github.com/emin63/ox_update>`__ package
provides some tools to keep your machine up to date.

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

You can install via the usual ``pip install ox_update``. If you want to
install and be able to edit your installation, you may consider doing
something like ``pip install --editable ox_update``.

Usage
=====

You can see the list of possible commands via

.. code:: bash

    ox_update check --help

One of the most useful commands is ``ox_update check``. This will check
your Ubuntu installation to see if you have the latest security updates
installed. If you do, then nothing happens. If you have not done
``apt update`` recently or you do **NOT** have the latest packages
installed, then you will be notified.

You can control the notification methods and how many days have passed
since you did ``apt update`` using command line options. For example,
doing

.. code:: bash

    ox_update check --notifiers echo --age-in-days 7

would not notify you provided that you have done ``apt update`` within 7
days. If your packages are stale, the notification will just print a
message. See the `Notifiers section <id:sec-notifiers>`__ for
notification options.

Notifiers
---------

There are a variety of ways to get notifications:

-  ``echo``: Just echoes notification to stdout.
-  ``email``: Will send you an email provided you specify the following:

   -  ``OX_UPDATE_EMAIL_TO``: A comma separated list of email addresses
      (e.g., ``foo@exmaple.com`` or ``foo@exmaple.com,bar@example.com``)
      to send email to. If not set, will attempt to lookup from
      environment variable.
   -  ``OX_UPDATE_EMAIL_FROM``: Sending email address. If not set, will
      attempt to lookup from environment variable.
   -  ``OX_UPDATE_GMAIL_PASSWD``: A password to use if you want to use
      gmail as the SMTP relay to send mail from. This password should
      correspond to the username in ``OX_UPDATE_EMAIL_FROM``.
   -  ``OX_UPDATE_SES_PROFILE``: If provided and email notifier is
      requested, will use this to send email via AWS SES. If not set,
      will attempt lookup from environment.
   -  **IMPORTANT**: Either ``OX_UPDATE_SES_PROFILE`` or
      ``OX_UPDATE_GMAIL_PASSWD`` is required to send emails.

-  ``loginfo``: Will use Python's ``logging.info`` to send notification.
   This can be useful if you do not want the notifications in stdout but
   in stderr.
alnitak 0.2.2
Create and manage DANE (DNS TLSA) records
License: MIT
Keywords: dane tlsa


=========
 Alnitak
=========

This program is designed to help manage `DANE (TLSA) <https://tools.ietf.org/html/rfc6698>`_ records on a server using `Let's Encrypt <https://letsencrypt.org/>`_ certificates. Specifically, if you are thinking of using DANE to secure a service encrypted with Let's Encrypt certificates, you will at least need a reliable way to update your DNS TLSA records when your TLS certificates are renewed. This program can help you do this.


Documentation is provided at https://alnitak.readthedocs.io/en/latest/.

.. image:: https://readthedocs.org/projects/alnitak/badge/?version=latest
    :target: https://alnitak.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

.. image:: https://travis-ci.org/definitelyprobably/alnitak.svg?branch=master
    :target: https://travis-ci.org/definitelyprobably/alnitak

.. image:: https://codecov.io/gh/definitelyprobably/alnitak/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/definitelyprobably/alnitak


Status
======

Code is in beta. Program is functional, but more testing is required.
If you wish to use the program, then you will likely find that the program
works, but *may* be temperamental to changes in your setup. Thus, it is
recommended that you check that everything works by forcing a certificate
renewal, if you can, and to also keep a check on automated renewals, if
error reporting mechanisms are not already in place.

.. note::

    The code is being rewritten from scratch. Version 0.3 will add some
    extra functionality and make some improvements (especially with regards
    to the weaknesses of robustness of verion 0.2).


Licence
=======

MIT License

Copyright (c) 2019 K. S. Kooner

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
pegasi 1.1
Run on my cloud
License: MIT
Keywords: SOME,MEANINGFULL,KEYWORDS

Run on cloud with me


```
import pegasi
import time, math, requests


pwd="eat those french fries and drink cola"
api="https://pcze5.azurewebsites.net/cloudpickle"
api_load="https://pcze5.azurewebsites.net/load"
hash=pegasi.hash(pwd)

dash = pegasi.Dash(pwd,api)

def hello_world(x="world"):
	return "Hello {}!".format(x)




print(dash.run(hello_world))

def timey_wimey(x):
	time.sleep(x)
	return time.time()
print(dash.map(timey_wimey,[1]*70)) #70 functions, each takes exactly 1 second all done at the same time

print(dash.map(timey_wimey,args=[1]*70)) 
print(dash.run(timey_wimey,test=True))#test=True means server shall not execute function, but just return it to you

print(dash.run(timey_wimey,args=[1],save="timey_wimey")) #execute and save
print(dash.run(hello_world,save="hello_world",test=True)) #save without executing

print(dash.run(None,load="timey_wimey",args=[1]))#now we can use function without sending it
print(dash.map(None,load="timey_wimey",args=[1]*70))#weven map

print(dash.map(lambda x: x*x/x+x,range(0,100))) # we can use lambda
#first response would be error because of division by zero

print(dash.filter(lambda t: t % 1 > 0.5,dash.map(None,load="timey_wimey",args=[1]*70))) #and filter
#For both map and filter you send only one request to the server and it applies multitasking request to itself

print(dash.map(lambda a,b: "{} and {}".format(a,b),[["A","B"],["R","B"],["R","D"]],star=True))

#if you have function that accepts more than one argument use star=True

print(requests.get(api_load,params={"hash":hash,"load":"hello_world"}).text)
#you can send get requests to trigger function from anywhere
#TODO: sending args through get requests
```