Metadata-Version: 1.1
Name: dds_pylib
Version: 0.3.2
Summary: Diversified Data Python Utilies Library
Home-page: https://bitbucket.org/ddspython/dds_pylib
Author: Stephen Funkhouser
Author-email: it@ddssoft.com
License: MIT
Description-Content-Type: UNKNOWN
Description: # dds_pylib
        
        ## Diversified Data Python Helper Library
        
        ### Setup
        [DDS KB](https://help.ddssoft.com/support/diversifieddata/ShowHomePage.do#Solutions/dv/193727000000679004)
        
        ### List of available utilities
        
        1. dates
            1. classes
                1. Gregorian()
            1. functions
                1. todays_julian()
                1. gregorian2julian()
                1. julian2gregorian()
        1. decorators
            1. annotate
            1. deprecated
            1. timeit
        1. pyext
            1. collection
                1. functions
                    1. multidim_list()
                    1. flatten()
                    1. create_multidim_list() - soon to be depcrecated for multidim_list()
            1. multi_getattr
            1. nearly_equal
            1. objects
                1. ObjectDict
        1. util
            1. case
                1. camel_to_ashell_case()
                1. camel_to_snake_case()
            1. clear_screen.py
            1. print_pythonpath.py
        
        ### PyPi notes
        
        [PyPi docs](http://python-packaging.readthedocs.io/en/latest/minimal.html)
        
        1. to update version number edit root `__init__.py`
        
        create source distribution
        
        ```console
        python setup.py sdist
        ```
        
        upload to PyPi
        
        ```console
        python setup.py sdist upload
        ```
        
        ### Running Tests
        
        Change current directory to library base directory
        
        Run all tests. This will run all the test*.py modules inside the test package.
        
        ```console
        > python -m unittest discover -v
        test_decode (test.test_base.TestBase36) ... ok
        test_encode (test.test_base.TestBase36) ... ok
        test_gregorian (test.test_dates.TestGregorian) ... ok
        test_j2g (test.test_dates.TestJulian2Gregorian) ... ok
        
        ----------------------------------------------------------------------
        Ran 4 tests in 0.011s
        
        OK
        ```
        
        Limit tests to a specific test module
        
        ```console
        > python -m unittest test.test_dates
        ..
        ----------------------------------------------------------------------
        Ran 2 tests in 0.004s
        
        OK
        ```
        
        Add `-v` switch to makes output more verbose
        
        ```console
        > python -m unittest -v test.test_dates
        test_gregorian (test.test_dates.TestGregorian) ... ok
        test_j2g (test.test_dates.TestJulian2Gregorian) ... ok
        
        ----------------------------------------------------------------------
        Ran 2 tests in 0.007s
        
        OK
        ```
        
        Further limit test to a specific TestCase
        
        ```console
        > python -m unittest -v test.test_dates.TestGregorian
        test_gregorian (test.test_dates.TestGregorian) ... ok
        
        ----------------------------------------------------------------------
        Ran 1 test in 0.005s
        
        OK
        ```
        
        Optionally further limit test to a specific TestCase.method
        
        ```console
        > python -m unittest -v test.test_dates.TestGregorian.test_gregorian
        test_gregorian (test.test_dates.TestGregorian) ... ok
        
        ----------------------------------------------------------------------
        Ran 1 test in 0.004s
        
        OK
        ```
        
        #### This library should test full tested
        
Keywords: integer julian date pyext
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
