semvec/pypi-packages huggingface dataset:
secfilings 0.4
A simple utility to get some SEC forms for companies that file.
License: MIT

# secfilings
An python package that gets forms 10-K, 10-Q, and 8-K from the SEC.

## Installation
`pip install secfilings`

## Usage

Two main functions. Each function returns a dictionary.
#### getForm(ticker)
returns "date", "url" and "form"
ex: 
```{'date': u'2017-02-03', 'url': 'https://www.sec.gov/Archives/edgar/data/1652044/000165204417000008/goog10-kq42016.htm', 'form': u'10-K'}```

#### getData(ticker)
returns "cik", "industry","ticker", "name", and "yrEnd"
ex: 
```{'cik': u'0001652044', 'industry': u'SERVICES-COMPUTER PROGRAMMING, DATA PROCESSING, ETC.', 'ticker': 'GOOG', 'name': u'Alphabet inc.', 'yrEnd': u'1231'}```

## Sample
```python
import secfilings as sec
#Prints the url to the latest 10K filing.
print sec.getForm("GOOG", "10-K")['url']
```
icon-resizer 0.0.3
iOS app icon resizing tool
License: MIT

icon-resizer
============

iOS app icon resizing tool |Icons|

Resize app icons and glyphs to Apple’s required sizes for iOS app
development.

Installation
------------

icon-resizer requires ``Python3`` and can be installed using ``pip``.

.. code:: bash

   $ pip install icon-resizer

Example
-------

.. code:: bash

   # Saves resized images in a folder called output in the current directory.
   $ icon appicon resize my-icon.png

Usage
-----

Type ``icon --help`` for the usage pattern.

.. code:: bash

   Usage: icon [OPTIONS] COMMAND [ARGS]...

   Options:
     -v, --version  Show current version
     --help         Show this message and exit.

   Commands:
     appicon  Manipulate raw app icon image
     tabbar   Manipulate raw tab bar glyph

.. |Icons| image:: https://developer.apple.com/ios/human-interface-guidelines/images/CustomIcon_Sizes.svg
localcrawl 0.2.3
Crawl rendered JavaScript templates from a local server.
License: MIT

localcrawl
==========

    Command line tool that crawls a local webserver with a headless browser
    and outputs static html files. Works well with
    `html5validator <https://github.com/svenkreiss/html5validator>`_
    to validate HTML5 from dynamic content with Javascript.

.. image:: https://travis-ci.org/svenkreiss/localcrawl.svg?branch=master
    :target: https://travis-ci.org/svenkreiss/localcrawl

Run ``localcrawl --help``:

.. image:: https://raw.githubusercontent.com/svenkreiss/localcrawl/master/docs/help.png
    :width: 450

PhantomJS is required. It is pre-installed on TravisCI. On a Mac run ``brew install PhantomJS``.


Example Command
---------------

.. code-block:: sh

    localcrawl --start _build/html/index.html --out _crawled/ --depth 3


Mustache Example
----------------

This can be used to convert templated files to HTML files (e.g. for validation
with `html5validator <https://github.com/svenkreiss/html5validator>`_).

Input:

.. code-block:: html

    <html>
    <head>
      <title>Mustache Test</title>
    </head>
    <body>
      <div id="output"></div>

      <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mustache.js/2.2.1/mustache.min.js"></script>
      <script>
        var data = {
          item: 'Fork',
          price: function() { return (1.10 * 1.08).toFixed(2); },
        };
        var html = Mustache.render('{{item}}: <b>${{price}}</b>', data);
        document.getElementById('output').innerHTML = html;
      </script>
    </body>
    </html>

The crawled output includes the output from processing the template
(``Fork: <b>$1.19</b>``):

.. code-block:: html

    <html><head>
      <title>Mustache Test</title>
    </head>
    <body>
      <div id="output">Fork: <b>$1.19</b></div>

      <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mustache.js/2.2.1/mustache.min.js"></script>
      <script>
        var data = {
          item: 'Fork',
          price: function() { return (1.10 * 1.08).toFixed(2); },
        };
        var html = Mustache.render('{{item}}: <b>${{price}}</b>', data);
        document.getElementById('output').innerHTML = html;
      </script>


    </body></html>


Should play nice with:
----------------------

JavaScript template engines / JS frameworks:

* `Mustache <https://mustache.github.io/>`_
* `Handlebars <http://handlebarsjs.com/>`_
* `React <https://facebook.github.io/react/>`_
* `Angular <https://angularjs.org/>`_
* `Ember <http://emberjs.com/>`_
* `Embedded JS <http://www.embeddedjs.com/>`_
* `Jade <http://jade-lang.com/>`_


Static site generators:

* `Jekyll <http://jekyllrb.com/>`_
* `GitBook <https://www.gitbook.com/>`_
* `Octopress <http://octopress.org/>`_
* `Pelican <http://blog.getpelican.com/>`_
* `Middleman <http://middlemanapp.com/>`_
* `Hugo <http://gohugo.io/>`_
sgfmill 1.1.1
Library for reading and writing files using Smart Game Format (SGF).
License: MIT
Keywords: go,baduk,weiqi,sgf

Sgfmill is a Python library for reading and writing Go game records
using Smart Game Format (SGF).

It supports:

* loading SGF game records to make a Python object representation
* creating SGF game objects from scratch
* setting properties and manipulating the tree structure
* serialising game records to SGF data
* applying setup stones and moves to a Go board position

Download: https://mjw.woodcraft.me.uk/sgfmill/download/sgfmill-1.1.1.tar.gz

Documentation: https://mjw.woodcraft.me.uk/sgfmill/download/sgfmill-doc-1.1.1.tar.gz

Online Documentation: https://mjw.woodcraft.me.uk/sgfmill/doc/1.1.1/

Changelog: https://mjw.woodcraft.me.uk/sgfmill/doc/1.1.1/changes.html

Github: https://github.com/mattheww/sgfmill
mountapi 0.1.0a0
Loosely coupled, typed web framework for modern Python
License: MIT

mountAPI
========

Example
=======

.. code-block:: python

    from mountapi.core.app import Application
    from mountapi.core.settings import DefaultSettings
    from mountapi.routing import Route


    async def hello_person(name: str):
        return {'message': f'Hello {name}!'}


    routes = [
        Route('/hello/<name:str>/', hello_person)
    ]

    if __name__ == '__main__':
        app = Application(settings=DefaultSettings, routes=routes)
        app.run()
arbitrage 0.1.7
Get current coin (btc/eth/xrp) ticker from exchanges (bitflyer/btcbox/zaif/bitbank/quoinex)
License: MIT
Keywords: arbitrage

arbitrage
=========

`PyPI version <https://badge.fury.io/py/arbitrage>`__ `License:
MIT <https://opensource.org/licenses/MIT>`__

Get current coin (btc/eth/xrp) ticker from exchanges
(bitflyer/btcbox/zaif/bitbank/quoinex)

Installation
------------

::

   $ pip install arbitrage

Usage
-----

.. code:: python

   import arbitrage

   ticker = arbitrage.ticker()
   print(ticker)
   # {
   #   'btc': {
   #       'bitflyer': {'ask': 915466.0, 'bid': 915022.0, 'max': 0, 'min': 0},
   #       'btcbox': {'ask': 915499.0, 'bid': 913968.0, 'max': 0, 'min': 0},
   #       'zaif': {'ask': 915450.0, 'bid': 915400.0, 'max': 1, 'min': 0},
   #       'bitbank': {'ask': 915204.0, 'bid': 915171.0, 'max': 0, 'min': 0},
   #       'quoinex': {'ask': 914711.0, 'bid': 914358.97, 'max': 0, 'min': 1},
   #       'diff': {'ask': 'quoinex', 'bid': 'zaif', 'price': 689.0}
   #   },
   #   'eth': {
   #       'btcbox': {'ask': 78362.0, 'bid': 77986.0, 'max': 1, 'min': 0},
   #       'zaif': {'ask': 77965.0, 'bid': 77820.0, 'max': 0, 'min': 1},
   #       'quoinex': {'ask': 78290.0, 'bid': 77710.00001, 'max': 0, 'min': 0},
   #       'diff': {'ask': 'zaif', 'bid': 'btcbox', 'price': 21.0}
   #   },
   #   'xrp': {
   #       'bitbank': {'ask': 75.362, 'bid': 75.351, 'max': 1, 'min': 1},
   #       'quoinex': {'ask': 75.6704, 'bid': 75.12, 'max': 0, 'min': 0},
   #       'diff': {'ask': 'bitbank', 'bid': 'bitbank', 'price': -0.01099999999999568}
   #   }
   # }


   def exception_handler(request, exception):
       print('Request failed', exception)

   ticker = arbitrage.ticker(timeout=30, exception_handler=exception_handler)

Contributing
------------

1. Fork it
2. Create your feature branch (``git checkout -b my-new-feature``)
3. Commit your changes (``git commit -am 'Add some feature'``)
4. Push to the branch (``git push origin my-new-feature``)
5. Create new Pull Request