File: base.rst

package info (click to toggle)
mutagen 1.47.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,456 kB
  • sloc: python: 22,562; makefile: 50; sh: 29
file content (88 lines) | stat: -rw-r--r-- 1,766 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
Main Module
-----------

.. automodule:: mutagen
    :members: File, version, version_string


Base Classes
~~~~~~~~~~~~

.. autoclass:: mutagen.FileType
    :members: pprint, add_tags, mime, save, delete
    :show-inheritance:


.. autoclass:: mutagen.Tags
    :members: pprint


.. autoclass:: mutagen.Metadata
    :show-inheritance:
    :members: save, delete


.. autoclass:: mutagen.StreamInfo
    :members: pprint


.. autoclass:: mutagen.PaddingInfo
    :members:


.. autoclass:: mutagen.MutagenError


Internal Classes
~~~~~~~~~~~~~~~~

.. automodule:: mutagen._util

.. autoclass:: mutagen._util.DictMixin

.. autoclass:: mutagen._util.DictProxy
    :show-inheritance:


Other Classes and Functions
~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. currentmodule:: mutagen

.. class:: text()

    This type only exists for documentation purposes. It represents
    :obj:`python:str` under Python 3.


.. class:: bytes()

    This type only exists for documentation purposes. It represents
    :obj:`python:bytes` under Python 3.


.. class:: fspath()

    This type only exists for documentation purposes. It represents a file
    name which can be :obj:`python:str` or :obj:`python:bytes` under Python 3.

.. class:: fileobj()

    This type only exists for documentation purposes. A file-like object.
     See :doc:`/user/filelike` for more information.

.. class:: filething()

    This type only exists for documentation purposes. Either a `fspath` or
    a `fileobj`.


.. function:: PaddingFunction(info)

    A function you can implement and pass to various ``save()`` methods for
    controlling the amount of padding to use. See :doc:`/user/padding` for
    more information.

    :param PaddingInfo info:
    :returns: The amount of padding to use
    :rtype: int