semvec/pypi-packages huggingface dataset:
restible-sqlalchemy 0.2
SQLAlchemy integration for restible library
License: MIT
Keywords: restible REST restapi rest server SQLAlchemy


restible-sqlalchemy
###################

.. readme_inclusion_marker


**restible-sqlalchemy** is a library that provides **django** integration with
`restible <https://github.com/novopl/restible>`_. It includes the base resource
class ``SqlAlchemyResource`` that can be used to define REST resources based on
SQLAlchemy model definitions.


.. note::
    The CircleCI builds can be found
    `here <https://circleci.com/gh/novopl/restible-sqlalchemy>`_

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

.. code-block:: shell

    $ pip install restible-sqlalchemy


Contributing
============

Setting up development repo
---------------------------

.. code-block:: shell

    $ git clone git@github.com:novopl/restible-sqlalchemy.git
    $ cd restible-sqlalchemy
    $ virtualenv env
    $ source ./env/bin/activate
    $ pip install -r requirements.txt -r ops/devrequirements.txt
    $ peltak git add-hooks


Running tests
.............

**Config**: The types of tests are defined in ``pelconf.py`` and the
pytest configuration is defined in ``ops/tools/pytest.ini``.

.. code-block:: shell

    $ peltak test

Linting
.......

**Config**: The list of locations to lint is defined in ``pelconf.py`` and the
linters configuration is defined in ``ops/tools/{pylint,pep8}.ini``.

.. code-block:: shell

    $ peltak lint

Generating docs
...............

**Config**: The list of documented files and general configuration is in
``pelconf.py`` and the Sphinx configuration is defined in ``docs/conf.py``.

.. code-block:: shell

    $ peltak docs
vredis.py 1.2.5
Distributed script crawler framework.
License: MIT


Distributed script crawler framework.
=====================================

.. code-block:: python

    # Simply connecting redis on the worker side of the library provides an-
    # executable power for distributed scripts
    # All function executions on the sender end will be piped to redis, 
    # and the worker end will be pulled out of the pipe to execute.
    # Support multi-task simultaneous execution! Each execution maintains a taskid, 
    # and different tasks maintain their configuration space according to the-
    # taskid when they are executed simultaneously.

worker
======

.. code-block:: python

    # if in start_worker.py
    import vredis
    s = vredis.Worker.from_settings(host='xx.xx.xx.xx',port=6666,password='vredis')
    s.start()

    # if in bash
    C:\Users\Administrator>vredis worker -ho xx.xx.xx.xx -po 6666 -pa vredis -db 0
    # if not set param. use defaults param.
    # default host localhost
    # default port 6379
    # default password None
    # default db 0

sender
======

.. code-block:: python

    from vredis import pipe

    pipe.connect(host='xx.xx.xx.xx',port=6666,password='vredis')
    pipe.DEBUG = True # True/False. worker prints on the worker_console.

    # very low code intrusion, no decorator or even complete barrier-free execution
    # The decorated function becomes a send function and is sent to the task pipeline
    @pipe
    def some(i):
        import time, random
        rd = random.randint(1,2)
        time.sleep(rd)
        print('use func:{}, rd time:{}'.format(i,rd))
        return 123
        # return a data and wraps them in JSON data and passes them in redis.

    @pipe.table('mytable') # if not set table, use "default" as tablename
    def some2(i):
        print('use func2:{}'.format(i))
        return 333,444
        # if return is a generator or list or tuple,
        # First, he iterates out the parameters and wraps them in JSON data and passes them in.
        # data collection space use tablename <= default tablename space "default".

    for i in range(100):
        some(i) # first send task it will get a taskid. info will log out.
        some2(i)


get_data
========

.. code-block:: python

    from vredis import pipe

    pipe.connect(host='xx.xx.xx.xx',port=6666,password='vredis')
    for i in pipe.from_table(taskid=26):
        print(i)

    # the second param is tablename. default tablename is "default"
wedgedriver 0.1.2
A collection of tools to break common cryptography weaknesses
License: MIT
Keywords: ctf security cryptography

# wedgedriver [![Build Status](https://travis-ci.org/pietroferretti/ctftools.svg?branch=master)](https://travis-ci.org/pietroferretti/ctftools) [![Coverage Status](https://coveralls.io/repos/github/pietroferretti/ctftools/badge.svg?branch=master)](https://coveralls.io/github/pietroferretti/ctftools?branch=master) [![pypi](https://img.shields.io/pypi/v/ctftools.svg?style=flat)](https://pypi.org/project/ctftools/) ![Python versions](https://img.shields.io/pypi/pyversions/ctftools.svg?style=flat)

`wedgedriver` drives wedges in insecure cryptography schemes.

All the tools are licensed under the MIT License.

## Installation

```
pip install wedgedriver
```

`wedgedriver` supports both Python 2 and 3.


## Usage
**TODO**

In the meantime, check the tests to see some examples.

As of now, the tools offer attacks on most polyalphabetic substitution ciphers, some classic attacks on AES, some simple scripts to handle RSA.