semvec/pypi-packages huggingface dataset:
python-trustwave-appscanner 0.2.11
A wrapper around the tapioca-trustwave-appscanner for translating the Appscanner API documents into Python Objects
License: MIT
Requires Python: >=3.3
Keywords: trustwave


Python Trustwave Appscanner
===========================
[![Build Status](https://travis-ci.org/siteblindado/python-trustwave-appscanner.svg?branch=master)](https://travis-ci.org/siteblindado/python-trustwave-appscanner#)
[![Current version at PyPI](https://img.shields.io/pypi/v/python-trustwave-appscanner.svg)](https://pypi.python.org/pypi/python-trustwave-appscanner)


Python Trustwave Appscanner transforms Appscanner REST API results into Plain Python Objects for easier processing.

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

`pip install python-trustwave-appscanner`

Usage
-----

The library exposes some functions that can return Python objects representing the XML response, strings or booleans.

Boolean functions are: `application_exists`, `assessment_exists`

String functions are: `get_application_id_by_name`, `get_assessment_status`, `get_current_assessment_run_id`

`get_assessment_run_status` returns an `AssessmentRun` object
fits-to-stamps 0.0.4
A simple script to convert FITS images to 3 x 3 stamps.
License: MIT
Keywords: astronomy

This is a simple script to convert FITS images to stamps.

## Usage

```
usage: fits-to-stamps [-h] [--trimsec TRIMSEC] [--fitsext FITSEXT]
                      [--stampsize STAMPSIZE]
                      [--separatorwidth SEPARATORWIDTH] [--fitsglob FITSGLOB]
                      [--workers WORKERS]
                      target

convert a FITS to 3 x 3 stamps.

positional arguments:
  target                path to a single FITS file or a directory of FITS
                        files to convert

optional arguments:
  -h, --help            show this help message and exit
  --trimsec TRIMSEC     the FITS header keys containing the TRIMSEC section.
                        All of the keys in the CSV list provided will be
                        tried. default: TRIMSEC,DATASEC,TRIMSEC0
  --fitsext FITSEXT     the FITS extension number containing the image to work
                        on. default: automatic detection for normal and
                        .fits.fz files
  --stampsize STAMPSIZE
                        the individual stamp size in pixels. default: 256
  --separatorwidth SEPARATORWIDTH
                        the width of the separator lines between stamps in
                        pixels. default: 1
  --fitsglob FITSGLOB   the file glob to use to recognize FITS files in a
                        directory. default: *.fits*
  --workers WORKERS     number of parallel workers to operate on multiple FITS
                        files default: 8
```

## Installation

This requires:

- numpy
- astropy
- Pillow

Install it with pip from [PyPI](https://pypi.org/project/fits-to-stamps)
(preferably in a virtualenv, or use the `--user` flag):

```
pip [--user] install fits-to-stamps
```

Or to install the latest version.

```
pip [--user] install git+https://github.com/waqasbhatti/fits-to-stamps
```

Once the installation is done, you'll be able to execute the script as
`fits-to-stamps` if the virtualenv is active (or `~/.local/bin` for `pip --user`
installs is in your $PATH).

To use it without needing the virtualenv active all the time, add an alias to
your `~/.bashrc`:

```
alias fits-to-stamps="/path/to/your/virtualenv/bin/fits-to-stamps"
```

That should make it run with the correct Python interpreter in the virtualenv.


## License

This is provided under the MIT license. See the LICENSE file for the full text.
rikka 1.0
Expose localhost to public Internet
License: MIT
Requires Python: >=3.6

# rikka

[![Build Status](https://travis-ci.org/Hanaasagi/rikka.svg?branch=master)](https://travis-ci.org/Hanaasagi/rikka)
![](https://img.shields.io/badge/Python-3.6-0086CC.svg)
![](https://img.shields.io/badge/version-beta-EB6EA5.svg)

Let you visit localhost behind NAT or Firewall

*It need Python 3.6 and above*

### Usage

run master in you server which have public ip address (for example `134.233.56.79`)

```Bash
$ rkserver -t 0.0.0.0:25362 -b 0.0.0.0:8080
```

run slave in localhost

```Bash
$ rklocal -t 134.233.56.79:25362 -d localhost:80
```

Then, visit `134.233.56.79:8080`, you will see the same page as `localhost:80`

Of course, it's just forwarding TCP traffic transparently. You can use any application layer protocol at will.

### Why rikka

rikka a word from Japanese that means "snow".

![](https://i.imgur.com/tskQvea.png)

### License
MIT
trustlines-contracts 0.1.3
Smart Contracts for Trustlines-Network
License: MIT
Requires Python: >=3
Keywords: trustlines

Trustlines Smart Contract Platform
==================================

This documentation explains how to deploy Trustlines smart contracts,
for creating your own currency network and trustlines exchange. The
current documentation is written for an Ubuntu Linux system.

Prerequisites
-------------

-  Python 3.6 or up and dev dependencies
-  `pip <https://pip.pypa.io/en/stable/>`__
-  git

Run
``apt install build-essential python3-dev python3-virtualenv virtualenv pkg-config libssl-dev automake autoconf libtool git``

One of the dependencies used is the secp256k1 library. If you're using
python 3.5 on linux you can skip the following step, since pypi contains
binary packages for secp256k1. If not, you'll have to run the following
to install the secp256k1 C library:

::

    git clone https://github.com/bitcoin-core/secp256k1.git
    cd secp256k1
    ./autogen.sh
    ./configure --enable-module-recovery
    make
    sudo make install
    sudo ldconfig

Deployment tools
----------------

This section runs through the tooling necessary for deploying the
contracts.

Ethereum client
~~~~~~~~~~~~~~~

To deploy the Trustlines smart contracts, you need an ethereum client,
e.g. geth or parity, which is synced to the chain you want to use. The
client needs to expose the JSON RPC endpoint. Additionally you need an
unlocked account with enough ether to pay for the contract deployment.

Deployment setup
~~~~~~~~~~~~~~~~

-  Download and install the solidity compiler solc into bin for
   compiling the contracts
   ``curl -L -o $HOME/bin/solc https://github.com/ethereum/solidity/releases/download/v0.4.21/solc-static-linux && chmod +x $HOME/bin/solc``

-  Clone this repository with
   ``git clone https://github.com/trustlines-network/contracts.git``
   ``cd contracts``

-  Install the deploy tool with ``pip install . -c constraints.txt``

tl-deploy
~~~~~~~~~

The tool ``tl-deploy`` allows you to deploy the relevant contracts.

Use ``tl-deploy --help`` to find out about the relevant commands or read
further in the `deploy documentation <https://github.com/trustlines-network/contracts/blob/develop/docs/deploy.md>`__

Development
-----------

To start developing install the development dependencies into a venv
with ``pip install -c constraints.txt -r requirements.txt``

Compiling
~~~~~~~~~

The contracts can be compiled with ``populus compile``

Testing
~~~~~~~

For testing we use pytest with an ethereum tester plugin. The tests can
be run with ``python -m pytest tests``

Change log
----------

See `CHANGELOG <https://github.com/trustlines-network/contracts/blob/develop/CHANGELOG.rst>`_.
aiorss 0.1.0
Asyncio client for interacting with rss feeds
License: MIT

# aiorss

Asyncio client for interacting with rss feeds

Installation instructions:

```bash
pip install aiorss
```

Usage:
```python
from aiorss import RSSFeed

async def main():
	url = 'http://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml'
	feed = RSSFeed(url)
	return await feed.parse()

```

Note
---------
aiorss is not affiliated or endorsed by any of the web services it interacts with.