semvec/pypi-packages huggingface dataset:
td-logger 0.4.3
A Python logging handler for Treasure Data Cloud
License: MIT

td-loger: logging library for Treasure Data Cloud
=================================================

Setup
-----

Before using this logging handler, td-agent must be properly configured at the
localhost. Please confirm these settings are in your
/etc/td-agent/td-agent.conf.

    ## built-in TCP input
    <source>
      type tcp
    </source>
    
    # Treasure Data output
    # match events whose tag is td.DATABASE.TABLE
    <match td.*.*>
      type tdlog
      apikey YOUR_API_KEY
    </match>

For more information, please look at the documentation.

* http://docs.treasure-data.com/

Install
-------

    $ easy_install td-logger

or

    $ pip install td-logger

Usage
-----

Check out the tests folder for more samples.

    import logging
    from tdlog import logger
    
    logging.basicConfig(level=logging.INFO)
    l = logging.getLogger('td_logger.test')
    l.addHandler(logger.TreasureDataHandler())

    l.info('Some message')
    js = { "semicolon" : ";", "at" : "@" }
    l.info(js)

This will throw the log entries to the local td-agent. And there's an important
point. This logger accepts only 'dict' and 'json string'.

Also, these parameters are logged by default.

* sys_host
* sys_name
* sys_module
* sys_lineno
* sys_levelno
* sys_levelname
* sys_filename
* sys_funcname
* sys_exc_info
* msg

These parameters can be specified at TreasureDataHander constructor.

* host: td-agent host (default: 127.0.0.1)
* port: td-agent port (default: 24224)
* db: td database name (default: log)
* table: td table name (default: default)
* bufmax: buffer size max when td-agent is unavailable (default: 1*1024*1024)
* timeout: network timeout (default: 3.0)

Have fun!

How to Develop
--------------

Folloings are the way to setup development envionment on MacOSX.

    $ sudo easy_install virtualenv
    $ virtualenv --no-site-packages .     
    New python executable in ./bin/python
    Installing setuptools............done.
    Installing pip...............done.
    $ source bin/activate
    $ bin/pip install msgpack-python
    $ python run_tests.py

Special Thanks
--------------

- [Joshua Kuntz](https://github.com/j3kuntz) for the original work
django-webperf 0.1
A collection of stuff to improve django web performance.
License: MIT

Django Web Performance
======================

A collection of stuff to improve django web performance.

Domain sharding
---------------
`Domain sharding`_ is an optimization technique for parallelization of resource loading.
If you have a lot of media files on your page you might want them to be downloaded from
different domains, as web browsers have limits on how many files they can grab at once.
Domain sharding reduces the overall page load time and is widley used on rich media sites,
like Facebook, Youtube, etc.

It works as a customized `django file storage`_, overriding standard url method.

.. _domain sharding: http://www.stevesouders.com/blog/2009/05/12/sharding-dominant-domains/
.. _django file storage: https://docs.djangoproject.com/en/dev/ref/files/storage/

Installation & setup
--------------------

Recommended way to install is pip::

    pip install django-webperf


Make sure to change your ``DEFAULT_FILE_STORAGE`` in ``settings.py`` to use sharding site-wide::

    DEFAULT_FILE_STORAGE = 'web_performance.storage.DomainShardingStorage'

Settings
--------

WEBPERF_MEDIA_TEMPLATE
^^^^^^^^^^^^^^^^^^^^^^

:Default: ``''`` (empty string)

A pattern to generate media_urls with a standard format placeholder.
E.g. `http://img{0}.example.com/media/`

WEBPERF_DOMAINS_NUMBER
^^^^^^^^^^^^^^^^^^^^^^

:Default: ``2``

Number of domains you want to use to split your media content.

    Don't use too many domains, becasue it will increase DNS lookup time.
sphinxjp.themes.solarized 0.1.0
A sphinx theme based on solarized color scheme. #sphinxjp
License: MIT
Keywords: sphinx,reStructuredText,solarized

A sphinx theme based on solarized color scheme.

Output Sample
==============================================================================
http://docs.btnb.jp/solarized_theme/

Features
==============================================================================
* provide ``solarized`` directive for render HTML document.


Setup
==============================================================================
Make environment with easy_install::

    $ easy_install sphinxjp.themes.solarized


Convert Usage
==============================================================================
setup conf.py with::

    extensions = ['sphinxjp.themecore', 'sphinxjp.themes.solarized']
    html_theme = 'solarized'

and run::

    $ make html

Requirements
==============================================================================
* Python 2.4 or later (not support 3.x)
* sphinx 1.0.x or later.

License
==============================================================================
Licensed under the `MIT license <http://www.opensource.org/licenses/mit-license.php>`_ .
See the LICENSE file for specific terms.

AUTHORS
==============================================================================

Sphinx template, css, packaging
------------------------------------------------------------------------------
* Takahiro MINAMI <vo.gu.ba.miiton AT gmail.com> sphinx-users.jp

Solarized
------------------------------------------------------------------------------
* Ethan Schoonover - http://ethanschoonover.com/solarized

History
==============================================================================

0.1.0 (2011/09/25)
------------------------------------------------------------------------------
* first release
minimumTFTP 20110917
tftp server and client.
License: MIT
Keywords: network,internet,tftp

tftp server and client.

Requirements
------------
* Python 3.x

Support only RFC 1350. No ascii mode.

basic usage:

    >>> import minimumTFTP

    server running

    >>> tftpServer = minimumTFTP.Server('C:\server_TFTP_Directory')
    >>> tftpServer.run()

    client running

    >>> arg1: server_IP_address
    >>> arg2: client_directory
    >>> arg3: get or put filename

    >>> tftpClient = minimumTFTP.Client(arg1, arg2, arg3)

    get

    >>> tftpClient.get()

    put

    >>> tftpClient.put()


use python -m:
    server runnning
        python -m minimumTFTP -s [directory]

    client get
        python -m minimumTFTP -g [serverIP] [directory] [filename]

    client put
        python -m minimumTFTP -p [serverIP] [directory] [filename]