semvec/pypi-packages huggingface dataset:
fro 2.0.0
A module for parsing string representations of objects
License: MIT
Keywords: fro parsing object representations

Fro
===

Fro is a Python module for parsing strings and text into Python objects. It
offers a concise, declarative, and expressive interface for mapping strings to
data, abstracting away boilerplate code and making it easy to quickly write
bug-free parsers.

Fro is compatible with Python 2.7+ and Python 3.x, and can be installed via pip.
Documentation for the module can be found at `<http://pythonhosted.org/fro>`_.

Release Notes
-------------

2.0.0 (08-01-16)
~~~~~~~~~~~~~~~~~

Breaking changes:
  - Parse input by chunks, allowing for more efficient use of memory
  - Replace ``Parser.parse()`` method with a family of related parsing functions
  - Change interface of ``FroParseError`` to better accommodate chunks
  - Replace unary minus operator on ``Parser`` objects with inversion, and replace unary plus operator with ``significant()`` method
  - Remove quietness/loudness as a property of ``Parser`` object, and add it as a function argument to ``parse(..)`` and friends instead 

Non-breaking changes:
  - New factory functions for constructing parsers
  - Various performance improvements


1.1.0 (07-08-16)
~~~~~~~~~~~~~~~~~

Initial release. Versioning begins at 1.1.0 due to a clerical error.
ftp2http 0.3.7
FTP to HTTP server
License: MIT

ftp2http
========

An FTP server that pushes uploaded files directly to a HTTP URL.

Overview
========

Think of ftp2http as a simple FTP layer that sits before a HTTP server.

| An FTP client connects to an ftp2http server and uploads a file. The
  ftp2http
| server immediately uploads that file to the configured HTTP URL.

| The server directory always appears empty to the client, even after a
  file has
| been uploaded. This is because uploaded files are only sent to the
  HTTP server,
| not stored.

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

Install ftp2http by using pip, a tool for managing Python packages.

#. Run ``pip install ftp2http``
#. Create a configuration file at ``/etc/ftp2http.conf``

-  Example:
   https://github.com/apn-online/ftp2http/blob/master/conf/ftp2http.conf

Usage
=====

-  Run ``ftp2http``

| We use **circusd** to manage the ftp2http process. An example
  configuration has
| been provided in the **examples** directory.

Authentication
==============

| Authentication can be checked against user accounts specified in the
| configuration file, or by configuring an authentication backend URL.

User accounts in the the configuration file
-------------------------------------------

| A specific configuration format is used, which can be generated using
  the
| ``ftp2http -a`` command.

Example:

::

    $ ftp2http -a
    Enter a username: dogman
    Enter a password:
    Confirm password:

    Add the following line to your configuration file.
    user: dogman:$2a$12$5NyFA4AbEfmZiexG62qIieBu/isqwTYnta8H9gH5zC0lCRVKyMrc.

HTTP Basic Authentication
-------------------------

| FTP login authentication can be performed via HTTP requests, using
  HTTP basic
| authentication. Set one or more **authentication\_backend** entries in
  the
| configuration file, and then ftp2http will perform requests to check
  the FTP
| login details. Login details are accepted if an
  authentication\_backend URL
| returns a 2xx response.

| File uploads themselves can also use HTTP basic authentication. By
  enabling
| **http\_basic\_auth** in the configuration file, ftp2http will reuse
  the FTP
| login details for HTTP basic authentication when sending uploaded
  files
| to the target URL.