semvec/pypi-packages huggingface dataset:
pyflinks 0.1.2
A Python module for communicating with the Flinks.io API.
License: MIT
Keywords: flinks bank financial data institution

pyflinks
=============

.. image:: https://img.shields.io/pypi/l/pyflinks.svg
    :target: https://pypi.python.org/pypi/pyflinks/
    :alt: License

.. image:: https://img.shields.io/pypi/pyversions/pyflinks.svg
    :target: https://pypi.python.org/pypi/pyflinks

.. image:: https://img.shields.io/pypi/v/pyflinks.svg
    :target: https://pypi.python.org/pypi/pyflinks/
    :alt: Latest Version

|

**pyflinks** is a Python module for communicating with the
`Flinks.io API <https://sandbox.flinks.io/documentation/>`_.

.. contents:: Table of Contents
    :local:

Main requirements
-----------------

Python_ 3.11+, Requests_ 2.0+.

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

To install pyflinks, please use pip_ (or pipenv_) as follows:

.. code-block:: shell

    $ pip install --pre pyflinks

Basic usage
-----------

The first step to interact with the Flinks v3 API interface is to initialize a ``flinks.Client``
instance. You'll need a Flinks customer ID (and optionally a private API instance URL) to perform
this initialization:

.. code-block:: python

    >>> from pyflinks import Client
    >>> client = Client('<CUSTOMER_ID>', 'https://sandbox.flinks.io/v3/')

Then you can easily interact with the implemented entities and the underlying API endpoints. Here
are some examples:


.. code-block:: python

    >>> client.banking_services.authorize(login_id='<LOGIN_ID>', most_recent_cached=True)
    >>> client.banking_services.get_accounts_summary('<REQUEST_ID>')

Authors
-------

impak Finance <tech@impakfinance.com>.

License
-------

MIT. See ``LICENSE`` for more details.


.. _pip: https://github.com/pypa/pip
.. _pipenv: https://github.com/pypa/pipenv
.. _Python: https://www.python.org/
.. _Requests: http://docs.python-requests.org/en/master/
ccstorage 2.0
Local storage: CCStorage, and simple local file string read/write: CCIO
License: MIT

# Install 

```
pip3 install ccstorage --upgrade --user
```

# CCIO: Simple local file read/write

```
content_str = CCIO.read_string(__absolute_path__)
CCIO.save_string(content_str, __absolute_path__)
```

# CCStorage: Local key-value storage

Concat `__root_dir_path__` with `__relative_file_path__` to storage key value.  
When inited, storage will automatically read.  
Then change keys and values, call `write()` to save to file.  

```
storage = CCStorage(__root_dir_path__, __relative_file_path__)  
storage['pending_work'] = True
storage['work_id'] = '123456'
storage.write()

storage = CCStorage(__root_dir_path__, __relative_file_path__)  
print(storage['pending_work'], storage['work_id'])
```

To enable read/write at each value get/set, set `force_reload_at_data_access` to `True`:  

```
storage.force_reload_at_data_access = True
```