Metadata-Version: 1.1
Name: write
Version: 0.0.24
Summary: write(path,content), open.write replacement. python2 and python3 compatible
Home-page: http://github.com/looking-for-a-job/write.py
Author: UNKNOWN
Author-email: UNKNOWN
License: UNKNOWN
Description: .. image:: https://img.shields.io/badge/language-Python-blue.svg
            :target: none
        .. image:: https://img.shields.io/pypi/pyversions/write.svg
            :target: https://pypi.org/pypi/write/
        .. image:: https://img.shields.io/pypi/v/write.svg
            :target: https://pypi.org/pypi/write
        
        |
        
        .. image:: https://api.codacy.com/project/badge/Grade/075eda6d69fa422f86a26f093ddcf26d
            :target: https://www.codacy.com/app/looking-for-a-job/write.py
        .. image:: https://codeclimate.com/github/looking-for-a-job/write.py/badges/gpa.svg
            :target: https://codeclimate.com/github/looking-for-a-job/write.py
        .. image:: https://img.shields.io/scrutinizer/g/looking-for-a-job/write.py.svg
            :target: https://scrutinizer-ci.com/g/looking-for-a-job/write.py/
        .. image:: https://sonarcloud.io/api/project_badges/measure?project=write.py&metric=code_smells
            :target: https://sonarcloud.io/dashboard?id=write.py
        .. image:: https://sonarcloud.io/api/project_badges/measure?project=write.py&metric=reliability_rating
            :target: https://sonarcloud.io/dashboard?id=write.py
        
        Install
        ```````
        
        
        .. code:: bash
        
            `[sudo] pip install write`
        
        Usage
        `````
        
        
        .. code:: python
        
            >>> from write import write
            
            >>> write(path,text)
        
        
        Examples
        ````````
        
        
        .. code:: python
        
            >>> write(path,'string')
            >>> open(path).read()
            'string'
            
            >>> write(path,None) # touch
            >>> open(path).read()
            ''
            
            >>> write(path,42) # write integer
            >>> open(path).read()
            '42'
            
            >>> write(path,dict()) # converted to str
            >>> open(path).read()
            '{}'
        
Keywords: write file
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Natural Language :: Russian
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.0
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development
