File: index.rst

package info (click to toggle)
liborcus 0.20.1-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 16,644 kB
  • sloc: xml: 78,349; cpp: 74,365; sh: 4,626; makefile: 2,787; python: 2,614
file content (34 lines) | stat: -rw-r--r-- 631 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

orcus
=====

.. py:function:: orcus.detect_format

   Detects the file format of the stream.

   :param stream: either bytes, or file object containing a byte stream.
   :rtype: :py:class:`orcus.FormatType`
   :return: enum value specifying the detected file format.

   Example::

      import orcus

      with open("path/to/file", "rb") as f:
          fmt = orcus.detect_format(f)


.. toctree::
   :maxdepth: 1

   cell.rst
   cell_type.rst
   document.rst
   format_type.rst
   formula_token.rst
   formula_token_op.rst
   formula_token_type.rst
   formula_tokens.rst
   named_expressions.rst
   sheet.rst
   sheet_rows.rst