Metadata-Version: 1.1
Name: pythonanywhere_cli
Version: 0.3.0
Summary: PythonAnywhere Command Line Interface.
Home-page: https://github.com/cfc603/pythonanywhere-cli
Author: Trevor Watson
Author-email: wtrevor162@gmail.com
License: MIT
Description-Content-Type: UNKNOWN
Description: pythonanywhere-cli
        ==============
        
        *A PythonAnywhere Command Line Interface.*
        
        .. image:: https://travis-ci.org/cfc603/pythonanywhere-cli.png?branch=master
            :target: https://travis-ci.org/cfc603/pythonanywhere-cli
        
        .. image:: https://codecov.io/github/cfc603/pythonanywhere-cli/coverage.svg?branch=master
            :target: https://codecov.io/github/cfc603/pythonanywhere-cli?branch=master
        
        Usage
        -----
        
        Set your environment variables::
        
            # Your API_KEY can be found at https://www.pythonanywhere.com/account and select the "API token" tab.
            $ export PYTHONANYWHERE_CLI_API_KEY="API_KEY"
        
            # Your PythonAnywhere username
            $ export PYTHONANYWHERE_CLI_USER="USER"
        
        
        Webapps::
        
            # Create a new webapp
            $ pythonanywhere webapps create username.pythonanywhere.com python27
        
            # Delete a webapp
            $ pythonanywhere webapps delete username.pythonanywhere.com
        
            # Reload Webapp
            $ pythonanywhere webapps reload username.pythonanywhere.com
        
            # Update Webapp python version or virtualenv path
            $ pythonanywhere webapps update username.pythonanywhere.com --python_version=2.7 --virtualenv_path=/path/to/env
        
        
        Static File Mappings::
        
            # Create new static mapping
            $ pythonanywhere static_mapping create username.pythonanywhere.com /static/ /path/to/static
        
            # Delete static mapping
            $ pythonanywhere static_mapping delete username.pythonanywhere.com 123456
        
            # Display a list of static mappings
            $ pythonanywhere static_mapping list username.pythonanywhere.com
        
            # Update a static mapping url and/or path
            $ pythonanywhere static_mapping update username.pythonanywhere.com --url=/new-static/ --path=/new/path/to/static
        
        
        Help::
        
            # Display help
            $ pythonanywhere -h
        
        
        Credit
        ------
        
        This application uses Open Source components. You can find the source code of their open source projects along with license information below. We acknowledge and are grateful to these developers for their contributions to open source.
        
        :Project: helper_scripts https://github.com/pythonanywhere/helper_scripts
        :Copyright: Copyright (c) 2017 PythonAnywhere LLP
        :License: (MIT) https://github.com/pythonanywhere/helper_scripts/blob/master/LICENSE
        
        
        History
        -------
        
        UNRELEASED
        ++++++++++
        
        
        0.3.0 (2017-10-21)
        ++++++++++++++++++
        
        * Update to use pythonanywhere-wrapper
        
        
        0.2.0 (2017-10-14)
        ++++++++++++++++++
        
        * Command takes optional --api_key & --user argument
        * Add History
        
        
        0.1.1 (2017-10-13)
        ++++++++++++++++++
        
        * Fix typo with repo URL
        
        
        0.1.0 (2017-10-12)
        +++++++++++++++++
        
        * Initial release on PyPI
Keywords: pythonanywhere_cli cli pythonanywhere pythonanywhere-cli
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
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: Topic :: Software Development :: Libraries :: Python Modules
