feeder-0.4.3
توضیحات
Data Feeder using different transports
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | feeder-0.4.3 |
| نام | feeder |
| نسخه کتابخانه | 0.4.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | nir0s |
| ایمیل نویسنده | nir36g@gmail.com |
| آدرس صفحه اصلی | https://github.com/nir0s/feeder |
| آدرس اینترنتی | https://pypi.org/project/feeder/ |
| مجوز | LICENSE |
feeder
======
|Build Status|
|Gitter chat|
|PyPI|
|PypI|
feeder generates events/logs using a specified formatter and sends them
using the specified transport. It can also generate fake data using
fake-factory.
Quick Start
~~~~~~~~~~~
`Quick
Start <http://feeder.readthedocs.org/en/latest/quick_start.html>`__
Documentation
~~~~~~~~~~~~~
`feeder Documentation <http://feeder.readthedocs.org>`__
Installation
~~~~~~~~~~~~
.. code:: shell
pip install feeder
# or, for dev:
pip install https://github.com/nir0s/feeder/archive/master.tar.gz
Usage Examples
~~~~~~~~~~~~~~
see `feeder
config <http://feeder.readthedocs.org/en/latest/configuration.html>`__
and `advanced
config <http://feeder.readthedocs.org/en/latest/advanced_configuration.html>`__
to configure your transports and formatters.
.. code:: shell
# this will assume config.py in the cwd and assume default for each option
mouth feed
# or.. you can specify whatever you want in the cli..
mouth feed -c /my/config/file/path.py -t AMQP -f Json -g 0.001 -m 100000000
mouth feed -t UDP -f Custom -g 0.00001 -m 102831028
# you can also send in batches
mouth feed -t UDP -f Custom -g 0.01 -m 102831028 -b 1000
# and even use some common formatters like apache's..
mouth feed -t Stream -f ApacheError
# print fake data types that you can use in the config...
mouth list fake
# print a list of available transports
mouth list transports
# print a list of available formatters
mouth list formatters
Additional Information
~~~~~~~~~~~~~~~~~~~~~~
- `Use
Case <http://feeder.readthedocs.org/en/latest/case_study.html>`__
- `Configuration <http://feeder.readthedocs.org/en/latest/configuration.html>`__
- `formatters <http://feeder.readthedocs.org/en/latest/formatters.html>`__
- `transports <http://feeder.readthedocs.org/en/latest/transports.html>`__
- `API <http://feeder.readthedocs.org/en/latest/api.html>`__
- `InHouseFaker <http://feeder.readthedocs.org/en/latest/in_house_faker.html>`__
Vagrant
~~~~~~~
A vagrantfile is provided: It will load a machine and install feeder on
it in a virtualenv so that you can experiment with it. For a machine
containing feeder, ELK and RabbitMQ see the `elk-workshop
repo <https://github.com/nir0s/elk-workshop>`__.
.. |Build Status| image:: https://travis-ci.org/nir0s/feeder.svg?branch=master
:target: https://travis-ci.org/nir0s/feeder
.. |Gitter chat| image:: https://badges.gitter.im/nir0s/feeder.png
:target: https://gitter.im/nir0s/feeder
.. |PyPI| image:: http://img.shields.io/pypi/dm/feeder.svg
:target: http://img.shields.io/pypi/dm/feeder.svg
.. |PypI| image:: http://img.shields.io/pypi/v/feeder.svg
:target: http://img.shields.io/pypi/v/feeder.svg
نحوه نصب
نصب پکیج whl feeder-0.4.3:
pip install feeder-0.4.3.whl
نصب پکیج tar.gz feeder-0.4.3:
pip install feeder-0.4.3.tar.gz