semvec/pypi-packages huggingface dataset:
pyprice 0.1.1
stock price index wrapper.
License: MIT

pyprice
=======


Installation
-------------

.. sourcecode:: bash

   $ python setup.py install
   
or can use pip

.. sourcecode:: bash

   $ pip install pyprice

Quick start
-----------

Terminal

.. sourcecode:: bash

   $ pyprice kospi
   KOREA SE KOSPI IDX / KOSPI
   Current Price: 2,087.89 (14.98, 0.72%)
   Market: Korea Stock Exchange (Koscom)
  
   $ pyprice search face
   Name: Frost Growth Equity Fund Investor Class Shares
   Keyword: FACEX
   Market: NASDAQ

   Name: Facebook
   Keyword: FB
   Market: NASDAQ

Python

.. sourcecode:: python

   >>> from pyprice.index import search
   >>> search('samsung')
   [[{'c': 'US', 'd': 'SSNLF', 'it': 'CS', 's': 'SSNLF', 'cnn': 'SSNLF', 'n': 'Samsung Electronics Co Ltd', 'lt': 'IssueNameFast.5.0', 'e': 'Grey Market', 'w': '260239'}]]
ConfigCollector 0.1.1
The tool collects configuration file of multiple routers
License: MIT
Keywords: network router cisco juniper junos ios ios-xr ios-xe

===========
ConfigCollector
===========
This tool collects configuration file of multiple routers.

Support router OS
==============
* IOS
* IOS-XE
* IOS-XR
* JUNOS

Install
=====
Install using pip.
::
    pip install configcolletctor

How to use
==============
Use following format.
::
    configcollector -i [inventory_file] -o [output_dirctory]

* inventory_file
    Router infomation file using Json format.
    The router OS is select from the below list. ::
        * JUNOS
        * IOS
        * IOS-XE
        * IOS-XR

    Sample inventory file
    ::
        [
            {
                "hostname" : "router1",
                "username" : "user1",
                "password" : "aaabbbccc",
                "ipv4"     : "192.168.0.1",
                "os"       : "JUNOS"
            },
            {
                "hostname" : "router2",
                "username" : "user2",
                "password" : "aaabbbccc",
                "ipv4"     : "192.168.0.2",
                "os"       : "IOS-XR"
            },
            {
                "hostname" : "router3",
                "username" : "user3",
                "password" : "aaabbbccc",
                "ipv4"     : "192.168.0.3",
                "os"       : "IOS"
            }
        ]

* output_directory
    The directory placed router configuration output files by ConfigCollector.

    Defalt : Current directory

Example
=======
Example to get router config files using ConfigCollector.
::
    % mkdir router_config

    % python configcollector.py -i sample_routers.json -o router_config/

    Accessing router: router1...
    Writing output file "router_config/router1"...
    Success : "router_config/router1"!
    Accessing router: router2...
    Writing output file "router_config/router2"...
    Success : "router_config/router2"!
    Accessing router: router3...
    Writing output file "router_config/router3"...
    Success : "router_config/router3"!

    % ls router_config
    router1.txt  router2.txt  router3.txt
    
    % less router1.txt

    show configuration | no-more
    ## Last commit: 2015-05-01 17:00:00 JST by user1
    version x.x.x;
    system {
        host-name router1;
        time-zone Asia/Tokyo;
    (snip)
time2words 0.1.2
A Python library for converting numerical representation of time to text.
License: MIT

===========
time2words
===========
Module for converting numerical representation of time to text.

Currently this works only for relative time and the output shows an aproximation. E.g. "about five and a half months".

Including precise time and time of day is work in progress.


======
Usage
======

::

    from time2words import relative_time_to_text
    relative_time_to_text(years=5, months=8, days=5) # -> "less than six years"