Metadata-Version: 1.1
Name: yasl
Version: 0.0.1
Summary: Yet another sparkline program/library
Home-page: http://github.com/walchko/yasl
Author: Kevin Walchko
Author-email: walchko@users.noreply.github.com
License: MIT
Description-Content-Type: UNKNOWN
Description: Yet Another Sparkline (yasl)
        ==============================
        
        .. image:: https://img.shields.io/pypi/l/yasl.svg
        	:target: https://github.com/MomsFriendlyRobotCompany/yasl
        .. image:: https://img.shields.io/pypi/pyversions/yasl.svg
        	:target: https://github.com/MomsFriendlyRobotCompany/yasl
        .. image:: https://img.shields.io/pypi/wheel/yasl.svg
        	:target: https://github.com/MomsFriendlyRobotCompany/yasl
        .. image:: https://img.shields.io/pypi/v/yasl.svg
        	:target: https://github.com/MomsFriendlyRobotCompany/yasl
        .. image:: https://travis-ci.org/MomsFriendlyRobotCompany/yasl.svg?branch=master
            :target: https://travis-ci.org/MomsFriendlyRobotCompany/yasl
        
        Why? Well, it is actually really easy to do this and I wanted some different
        control that the other programs had. Also, I like the MIT license.
        
        Usage
        -------
        
        You can run it from the command line::
        
          kevin@dalek psl $ ./sparkbar.py  1 2 3E+0 4
           ▂▅█
          kevin@dalek psl $ ./sparkbar.py -z 1 2 3E+0 4
           ▎▋█
          kevin@dalek psl $ ./sparkbar.py 1 2 3 4 3 2 1 0 3 5
          ▁▃▄▆▄▃▁ ▄█
        
        
        Or call it from a python program:
        
        .. code-block:: python
        
          #!/usr/bin/env python
        
          from __future__ import print_function, division
          from math import sin, pi
          from yasl import Spark
        
          if __name__ == "__main__":
              sp = Spark()
              data = [0,3,6,8.5,7,5,2,8,-8,1]
        
              print(u'max: {:.2f} min: {:.2f} [{}]'.format(max(data),min(data),sp.vbar(data)))
        
              data = []
              for i in range(36):
                  data.append((sin(4*pi*i/36)))
        
              print(u'max: {:.2f} min: {:.2f} [{}]'.format(max(data),min(data),sp.hbar(data)))
        
              sp.dump()
        
        ::
        
          kevin@dalek psl $ python3 example.py
          max: 8.50 min: -8.00 [▃▅▆█▇▆▄▇ ▄]
          max: 0.98 min: -0.98 [▌▋▊▉██▉▊▋▌▎▏    ▏▎▍▋▊▉▉█▉▊▋▌▎▏    ▏▎]
        
        
        MIT License
        ===============
        
        **Copyright (c) 2017 Kevin J. Walchko**
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Keywords: sparkline,spark,,bar,graph,plot
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
