Metadata-Version: 2.1
Name: beta-code
Version: 0.0.4
Summary: Converts Greek beta code to Greek characters and vice versa
Home-page: https://github.com/zfletch/beta-code-py
Author: zfletch
Author-email: zfletch2@gmail.com
License: UNKNOWN
Description: # Beta Code Converter for Python
        
        ## Overview
        
        Converts Greek beta code to Greek characters and vice versa.
        
        ## Installation
        
        `pip install beta_code`
        
        ## Usage
        
        ```python
        import beta_code
        
        beta_code.greek_to_beta_code('χαῖρε ὦ κόσμε')
        # => 'xai=re w)= ko/sme'
        
        beta_code.beta_code_to_greek('mh=nin a)/eide qea\\ *phlhi+a/dew *)axilh=os')
        # => 'μῆνιν ἄειδε θεὰ Πηληϊάδεω Ἀχιλῆος'
        
        ```
        
        ## Tests
        
        `python -m unittest tests/test_beta_code.py`
        
        ### In Python 2
        
        `cd tests/ && python -m unittest test_beta_code`
        
        ## Updating JSON
        
        ```bash
        git subtree pull --prefix beta_code/vendor/beta-code-json/ https://github.com/zfletch/beta-code-json master --squash
        ```
        
        In the case of a merge conflict:
        
        ```bash
        git checkout --theirs vendor/beta-code-json/
        git add vendor/beta-code-json
        git commit
        ```
        
        ## Publishing
        
        * Install dependencies:
        
        ```bash
        python3 -m pip install --user --upgrade setuptools wheel
        python3 -m pip install --user --upgrade twine
        ```
        
        * Bump version in `setup.py`
        * Commit and push to GitHub
        * On GitHub, create a new release
        * Run `python3 setup.py sdist bdist_wheel`
        * Run `twine upload dist/*`
        
        ## Notes
        
        For the mappings between beta code and Unicode, see [https://github.com/zfletch/beta-code-json](https://github.com/zfletch/beta-code-json).
        
        
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
