Metadata-Version: 1.2
Name: sunson
Version: 1.0.1
Summary: Python Arbitrage KRW
Home-page: https://github.com/wisscot/SunSon
Author: Eddy
Author-email: wisscot.dev@gmail.com
License: Apache 2.0
Description: # SunSon Project

        

        ## Ubuntu Config:

        

           ```sh

           ls -ld .?*     # to list hidden files

        

           echo 'export PS1="\[\033[1;36m\]\h\[\033[0m\] \[\033[1;36m\]\u\[\033[0m\]:\[\033[1;36m\]\W\[\033[0m\]$ "' >> ~\.bashrc

           source ~\.bashrc

           # add this to ~\.bashrc in Ubuntu

           export PS1="\[\033[1;36m\]\!\[\033[0m\] \[\033[1;36m\]\u\[\033[0m\]:\[\033[1;36m\]\W\[\033[0m\]$ "

           # add this to ~\.bash_profile in OS X 

           

           echo 'alias py="python3"' >> ~/.bash_aliases

           source ~/.bash_aliases

           

           #change timezone

           sudo dpkg-reconfigure tzdata

           ```

        

        ## Dropbox

        

        - Install Dropbox: https://www.dropbox.com/install-linux 

           ```sh

           cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -

           ```

        

        - Run dropbox in background: 

           ```sh

           setsid ~/.dropbox-dist/dropboxd

           ```

        

        ## python3 (Ubuntu 17.10 already have it)

        

           ```sh

           # install pip (Ubuntu)

           sudo apt-get update

           sudo apt install python3-venv python3-pip

           py -m pip install --upgrade pip

           py -m pip install setuptools   

           ```

        

        ### Install 3rd party package

        

        - Korbit API wrapper:  https://github.com/wisscot/korbit-python

            *-- download and pip install zip file*

            ```sh

            py -m pip install git+https://github.com/wisscot/korbit-python.git

            py -m pip uninstall korbit-python   # to uninstall

            ```

            

        - Bitstamp API wrapper: https://github.com/wisscot/bitstamp-python-client

            *-- download or *

            ```sh

            py -m pip install BitstampClient

            ```

            

        - GDAX API wrapper: https://github.com/wisscot/gdax-python

            *-- download and pip install zip file*

            ```sh

            py -m pip install git+https://github.com/wisscot/gdax-python.git

            ```

        

        - Bithumb: Splinter + Chrome

           

           -- splinter: https://splinter.readthedocs.io/en/latest/index.html

           ```sh

           py -m pip install splinter

           ```

           -- Chrome and Chromedriver: https://gist.github.com/wisscot/271bb7f8f0c85a06fd39f4aa32c196b9

           ```sh

           # Versions

           CHROME_DRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE`

        

           # Install dependencies.

           sudo apt-get update

           sudo apt-get install -y unzip openjdk-8-jre-headless xvfb libxi6 libgconf-2-4

        

           # Install Chrome.

           sudo curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add

           sudo echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list

           sudo apt-get -y update

           sudo apt-get -y install google-chrome-stable

        

           # Install ChromeDriver.

           wget -N http://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip -P ~/

           unzip ~/chromedriver_linux64.zip -d ~/

           rm ~/chromedriver_linux64.zip

           sudo mv -f ~/chromedriver /usr/local/bin/chromedriver

           sudo chown root:root /usr/local/bin/chromedriver

           sudo chmod 0755 /usr/local/bin/chromedriver   

           ```

        ### Others:

        ```sh

        py -m pip install beautifulsoup4

        py -m pip install pyotp

        py -m pip install pymongo

        ```

        
        
        .. :changelog:

        

        Release History

        ---------------

        

        dev

        +++

        

        **Improvements**

        

        - Warn user about possible slowdown when using cryptography version < 1.3.4

        - Check for invalid host in proxy URL, before forwarding request to adapter.

        - Fragments are now properly maintained across redirects. (RFC7231 7.1.2)

        

        **Bugfixes**

        

        - Parsing empty ``Link`` headers with ``parse_header_links()`` no longer return one bogus entry

        - Fixed issue where loading the default certificate bundle from a zip archive

          would raise an ``IOError``

        - Fixed issue with unexpected ``ImportError`` on windows system which do not support ``winreg`` module

        - DNS resolution in proxy bypass no longer includes the username and password in

          the request. This also fixes the issue of DNS queries failing on macOS.

        

        

        1.0 (2018-02-22)

        ++++++++++++++++++

        

        * Birth!

        

        

        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.0
