semvec/pypi-packages huggingface dataset:
ToLedger 2017.4.21
Convert bank statements to Ledger
License: MIT
Keywords: ledger,convert,conversion,bank,ing,nl,accounting,command,commandline,cli,bitstamp

# ToLedger
ToLedger originated as a personal project to convert my bank statements 
to the open source [ledger](http://ledger-cli.org/) format. I have made 
some changes to make it more generally applicable, allowing for other 
banks to be added.

Currently this library is only known to work with the export files of
ING Bank (NL) and Bitstamp, but extending it for similar CSV exports 
should be trivial.

```
Usage: 
  toledger.py <format> [options] 
  toledger.py <format> [options] <input>
  toledger.py <format> [options] <input> <output>
  toledger.py (-h | --help)

Options:
  -a --append    Append to the output file if it exists.
  -b --balance   Get the initial balance (if possible)
  --from=<from>  Account to get balances from. 
  --to=<to>      Account to send transactions to. 
  --name=<name>  Account name.
  --hash         Save a hash of the transaction for duplicate removal
  -c --code      Use the currency code, e.g. EUR
  -s --symbol    Use the currency symbol, e.g. â‚¬  
  -h --help      Show the usage guidelines.
```

## Installation
Apart from downloading this repository, you can install the latest 
release with ``pip install toledger``

## Contributing
If you wish to contribute to this project, here's a feature wishlist:

+ Add different formats for different banks 
  (see toledger/bankstatements.py)
+ Interactive mode, manually adding and changing transaction details
+ Smart transaction labeling, based on specification files or existing 
  Ledger files
+ Checking the output file for duplicates
+ Convert to using a Ledger library for Python, instead of writing 
  directly to files (better and more output formatting options)
+ Save the meta information in the output file
+ Python 2 compatibility
+ Unit tests
+ Any other suggestions are also welcome, especially if they improve 
  extensibility and compatibility

There are also some design conventions:

+ [PEP 8](https://www.python.org/dev/peps/pep-0008/) (within reason)
+ All options should be reachable from the command line, using 
  [docopt](http://docopt.org)
+ [stdin and stdout compatibility](https://docs.python.org/3/library/sys.html#sys.stdin)
+ Error handling with 
  [built-in exceptions](https://docs.python.org/3.6/library/exceptions.html) 
  (with custom messages)
WeChat-OAuth2 0.1.2
wechat sdk
License: MIT

WeChat OAuth2 SDK.
==================

微信登录授权的Python库

开发文档
--------

`网站应用微信登录开发指南
<https://open.weixin.qq.com/cgi-bin/showdocument
?action=dir_list&t=resource/res_list&verify=1&id=open1419316505>`_

配置网页授权域名
----------------
  
登录微信公众平台： 开发 -> 接口权限 -> 网页授权获取用户基本信息 -> 网页授权域名


Example Usage
-------------

- 创建service

.. code-block:: python

  from wechat_oauth2 import WeChatService
  wechat = WeChatService(appid,
                         secret)

- 获取authorize_url
    
.. code-block:: python

  params = {'redirect_uri': redirect_uri, 'scope': 'snsapi_userinfo'}
  return redirect(wechat.get_authorize_url(**params))
NeoPySwitch 0.2.1
Python switch implementation
License: MIT

NeoPySwitch
===========

Python ``switch``-statement pseudo-implementation. Mimics C-style switch
statements.

The following two code blocks should be equivalent:

C/C++
~~~~~

.. code:: c

    switch(arg):
    {
        case 1:
            // Handle case
        case 2:
            // Handle case
        default:
            // Handle default case
    }

Python
~~~~~~

.. code:: python

    @SwitchCase
    def case_1(arg1):
        print 'Case 1: ', arg1

    @SwitchCase
    def case_2(arg1, arg2):
        print 'Case 2: ', arg2

    @SwitchCase
    def default_case(arg1, arg2, arg3):
        print 'Default case: ', arg1, arg2, arg3

    PySwitch(3, {
        1: case_1('a'),
        2: case_2('abc', 42),
        }, default_case(13, 'somestring', 3.14))

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

Simply use pip:

::

    $ pip install NeoPySwitch

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. Submit a pull request :D

History
-------

-  0.1.0 - First alpha-release

Credits
-------

-  `Zeno Rocha <https://github.com/zenorocha>`__ - `GitHub README
   template <https://gist.github.com/zenorocha/4526327>`__
-  `Ethan Forman <https://bitbucket.org/stoneleaf/>`__ -
   ```setup.py``-reference <https://bitbucket.org/stoneleaf/enum34/src/f24487b45cd041fc9406d67441d2186ac70772b7/setup.py?at=default&fileviewer=file-view-default>`__

License
-------

The MIT License (MIT) Copyright (c) 2017 Thomas Li Fredriksen

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
pip_services_container 2.2.0
IoC container for Pip.Services in Python
License: MIT

Pip.Services Container
----------------------

Pip.Services is an open-source library of basic microservices.
pip_services_container provides IoC container implementation.

Links
`````

* `website <http://www.pipservices.org>`_
* `development version <http://github.com/pip-services/pip-services-container-python>`
pip_services_commons 2.4.1
Basic portable abstractions for Pip.Services in Python
License: MIT

Pip.Services Commons
--------------------

Pip.Services is an open-source library of basic microservices.
pip_services_commons package provides basic abstractions portable across variety of languages.

Links
`````

* `website <http://github.com/pip-services/pip-services>`
* `development version <http://github.com/pip-services/pip-services-commons-python>`