semvec/pypi-packages huggingface dataset:
jsondate 0.1.2
JSON with datetime support
License: MIT

========
jsondate
========


Sick of rewriting the same JSON datetime handling code for each project?
``jsondate`` is a drop-in replacement for Python's standard ``json`` library that
adds sensible handling of ``datetime`` and ``date`` objects.

``jsondate`` uses ISO8601 for encoding ``datetime`` objects and the
date-specific part of ISO6801 for encoding ``date`` objects.

Example::

    import datetime
    import jsondate as json

    >>> data = json.dumps(dict(created_at=datetime.datetime(2012, 10, 31)))
    '{"created_at": "2012-10-31T00:00:00Z"}'

    >>> json.loads(data)
    {u'created_at': datetime.datetime(2012, 10, 31, 0, 0)}

    >>> date = json.dumps(dict(date=datetime.date(2012, 10, 31)))
    '{"date": "2012-10-31"}'

    >>> json.loads(data)
    {u'created_at': datetime.date(2012, 10, 31)}



Unicode Empty Strings
=====================

The ``json`` standard library module will return ``unicode`` objects for all
strings except empty strings, which are returned as ``str`` objects.

This inconsistency can be annoying when using libraries that expect all input
to be ``unicode``.

``jsondate`` fixes this by returning empty-strings as ``unicode`` objects as
well.
tempdirs 0.0.8
tempdirs -- Safely create temporary directories
License: MIT

========
tempdirs
========

Description
===========

tempdirs is a library which allows users to safely and cleanly create
any number of temporary directories. Temporary directories are
automatically deleted. It was created as a testing utility.

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

Install using pip::

    pip install pyusps

or easy_install::

    easy_install pyusps

Examples
========

You can tempdirs.makedirs as a decorator passing in the number of
temporary directories needed::

    import os

    import tempdirs

    @tempdirs.makedirs(2)
    def test_foo(**kwargs):
        (srcdir, dstdir) = kwargs['tempdirs_dirs']
        srcfile = os.path.join(srcdir,'foo')
        dstfile = os.path.join(dstdir,'bar')
        with open(srcfile, 'w') as fp:
            fp.write('src content\n')
        with open(dstfile, 'w') as fp:
            fp.write('dst content\n')

You can also use tempdirs.makedirs as a Context Manager::

    import os

    import tempdirs

    with tempdirs.makedirs(2) as (srcdir, dstdir):
        srcfile = os.path.join(srcdir,'foo')
        dstfile = os.path.join(dstdir,'bar')
        with open(srcfile, 'w') as fp:
            fp.write('src content\n')
        with open(dstfile, 'w') as fp:
            fp.write('dst content\n')

Developing
==========

External dependencies
---------------------

    - python-dev
    - python-setuptools
    - python-virtualenv

Setup
-----

To start developing run the following commands from the project's base
directory. You can download the source from
https://github.com/thelinuxkid/tempdirs::

    # I like to install the virtual environment in a hidden repo.
    virtualenv .virtual
    # I leave the magic to Ruby developers (.virtual/bin/activate)
    .virtual/bin/python setup.py develop
tl 0.5
T I M E L I N E - RL events tracking software
License: MIT

T I M E L I N E -  keep track of what you are doing (console, IRC, XMPP) - https://github.com/feedbackflow/tl 
    
    Ten Rules For The New World
    Kenmerk: 69389/12

    Punishment, the fruit of knowledge of good and evil, will be forbidden

    Every person, thing, existance, awareness or other entity, being or not being, can ask for a proces described below.

    The basic right is to be able to ask for help in difficult situations. Help from the outside, when fear of ending existence appears. 
    The rules below are for those who are willing to help. 
    One day these rules will be law, where nothing will be excluded from:

    1) you shall do no harm
    2) you shall judge but put no negative actions on your judgement
    3) this judgement you shall use to see what is going on
    4) with this knowledge of what is going on you will look at what the cause is
    5) when you know what the cause is you will take action to prevent further negative consequences
    6) you will do this proces in the open, controlable for everybody and thing
    7) you will evaluate how this proces works out, also in the open.
    8) You will make your judgement your own and not someone elses
    9) It is for you to bring peace on this earth and every else where this light needs to shine
    10) as last, be aware, be aware of what you think, do, cause, feel, see, hear, all that you perceive. For judgement can only be done properly if you see all the factors that influence a situation. Be aware of what makes you.