Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1# -*- coding: utf-8 -*-
2"""
3@file
4@brief Module *pandas_streaming*.
5Processes large datasets with :epkg:`pandas` by
6reimplementing streeaming versions of
7:epkg:`pandas` functionalites.
8"""
10__version__ = "0.3.218"
11__author__ = "Xavier Dupré"
12__github__ = "https://github.com/sdpython/pandas_streaming"
13__url__ = "http://www.xavierdupre.fr/app/pandas_streaming/helpsphinx/index.html"
14__license__ = "MIT License"
15__blog__ = """
16<?xml version="1.0" encoding="UTF-8"?>
17<opml version="1.0">
18 <head>
19 <title>blog</title>
20 </head>
21 <body>
22 <outline text="pandas_streaming"
23 title="pandas_streaming"
24 type="rss"
25 xmlUrl="http://www.xavierdupre.fr/app/pandas_streaming/helpsphinx/_downloads/rss.xml"
26 htmlUrl="http://www.xavierdupre.fr/app/pandas_streaming/helpsphinx/blog/main_0000.html" />
27 </body>
28</opml>
29"""
32def check(log=False):
33 """
34 Checks the library is working.
35 It raises an exception.
36 If you want to disable the logs:
38 :param log: if True, display information, otherwise none
39 :return: 0 or exception
40 """
41 return True
44def _setup_hook(use_print=False):
45 """
46 if this function is added to the module,
47 the help automation and unit tests call it first before
48 anything goes on as an initialization step.
49 """
50 # we can check many things, needed module
51 # any others things before unit tests are started
52 if use_print:
53 print("Success: _setup_hook")