semvec/pypi-packages huggingface dataset:
lzstring 1.0.4
lz-string for python
Keywords: lz-string

lz-string-python
================

lz-string for python 2/3

Based on the LZ-String javascript found here: http://pieroxy.net/blog/pages/lz-string/index.html

Example
-------
::

  >>> import lzstring
  >>> x = lzstring.LZString()
  >>> compressed = x.compressToBase64(u'你好') # 'gbyl9NI='
  >>> x.decompressFromBase64(compressed) # '你好'

Installation
------------
::

  $ pip install lzstring
tokima 0.0.3
A Utility Tools for Akamai Open API

# Tokima

## Tools for my own use. using Akamai API

To use Akamai API you need some formatted date 'from' and 'to' as '2015-01-31' in 
[List Products per Contract](https://developer.akamai.com/api/luna/contracts/resources.html#getproductspercontract)  
or in [List Usage per Contract](https://developer.akamai.com/api/luna/billing-usage/resources.html#getcontractmeasure) 

    tokima = TokimaDate(year="2018", month="6")

    tokima.month -> 6
    tokima.year ->  2018
    tokima.year_month -> "2018-06"
    tokima.first_day() ->  "2018-06-01"
    tokima.last_day() ->  "2018-06-30"
    tokima.day_numbers -> 30