pyrekordbox 0.3.1__py3-none-any.whl → 0.4.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. pyrekordbox/__init__.py +8 -8
  2. pyrekordbox/__main__.py +3 -2
  3. pyrekordbox/_version.py +2 -2
  4. pyrekordbox/anlz/__init__.py +3 -2
  5. pyrekordbox/anlz/file.py +4 -2
  6. pyrekordbox/anlz/tags.py +3 -1
  7. pyrekordbox/config.py +79 -23
  8. pyrekordbox/db6/__init__.py +2 -2
  9. pyrekordbox/db6/aux_files.py +3 -2
  10. pyrekordbox/db6/database.py +227 -143
  11. pyrekordbox/db6/registry.py +1 -0
  12. pyrekordbox/db6/smartlist.py +375 -0
  13. pyrekordbox/db6/tables.py +81 -20
  14. pyrekordbox/logger.py +0 -1
  15. pyrekordbox/mysettings/__init__.py +5 -4
  16. pyrekordbox/mysettings/file.py +3 -1
  17. pyrekordbox/rbxml.py +5 -3
  18. pyrekordbox/utils.py +4 -3
  19. {pyrekordbox-0.3.1.dist-info → pyrekordbox-0.4.0.dist-info}/LICENSE +1 -1
  20. {pyrekordbox-0.3.1.dist-info → pyrekordbox-0.4.0.dist-info}/METADATA +26 -42
  21. pyrekordbox-0.4.0.dist-info/RECORD +25 -0
  22. {pyrekordbox-0.3.1.dist-info → pyrekordbox-0.4.0.dist-info}/WHEEL +1 -1
  23. {pyrekordbox-0.3.1.dist-info → pyrekordbox-0.4.0.dist-info}/top_level.txt +0 -2
  24. docs/Makefile +0 -20
  25. docs/make.bat +0 -35
  26. docs/source/_static/images/anlz_beat.svg +0 -53
  27. docs/source/_static/images/anlz_file.svg +0 -204
  28. docs/source/_static/images/anlz_pco2.svg +0 -138
  29. docs/source/_static/images/anlz_pcob.svg +0 -148
  30. docs/source/_static/images/anlz_pcp2.svg +0 -398
  31. docs/source/_static/images/anlz_pcpt.svg +0 -263
  32. docs/source/_static/images/anlz_ppth.svg +0 -123
  33. docs/source/_static/images/anlz_pqt2.svg +0 -324
  34. docs/source/_static/images/anlz_pqt2_2.svg +0 -253
  35. docs/source/_static/images/anlz_pqtz.svg +0 -140
  36. docs/source/_static/images/anlz_pssi.svg +0 -192
  37. docs/source/_static/images/anlz_pssi_entry.svg +0 -191
  38. docs/source/_static/images/anlz_pvbr.svg +0 -125
  39. docs/source/_static/images/anlz_pwav.svg +0 -130
  40. docs/source/_static/images/anlz_pwv3.svg +0 -139
  41. docs/source/_static/images/anlz_pwv4.svg +0 -139
  42. docs/source/_static/images/anlz_pwv5.svg +0 -139
  43. docs/source/_static/images/anlz_pwv5_entry.svg +0 -100
  44. docs/source/_static/images/anlz_pwv6.svg +0 -130
  45. docs/source/_static/images/anlz_pwv7.svg +0 -139
  46. docs/source/_static/images/anlz_pwvc.svg +0 -125
  47. docs/source/_static/images/anlz_tag.svg +0 -110
  48. docs/source/_static/images/x64dbg_rb_key.png +0 -0
  49. docs/source/_static/logos/dark/logo_primary.svg +0 -75
  50. docs/source/_static/logos/light/logo_primary.svg +0 -75
  51. docs/source/_static/logos/mid/logo_primary.svg +0 -75
  52. docs/source/_templates/apidoc/module.rst_t +0 -8
  53. docs/source/_templates/apidoc/package.rst_t +0 -57
  54. docs/source/_templates/apidoc/toc.rst_t +0 -7
  55. docs/source/_templates/autosummary/class.rst +0 -32
  56. docs/source/_templates/autosummary/module.rst +0 -55
  57. docs/source/api.md +0 -18
  58. docs/source/conf.py +0 -178
  59. docs/source/development/changes.md +0 -3
  60. docs/source/development/contributing.md +0 -3
  61. docs/source/formats/anlz.md +0 -634
  62. docs/source/formats/db6.md +0 -1233
  63. docs/source/formats/mysetting.md +0 -392
  64. docs/source/formats/xml.md +0 -376
  65. docs/source/index.md +0 -103
  66. docs/source/installation.md +0 -271
  67. docs/source/key.md +0 -103
  68. docs/source/quickstart.md +0 -185
  69. docs/source/requirements.txt +0 -7
  70. docs/source/tutorial/anlz.md +0 -7
  71. docs/source/tutorial/configuration.md +0 -66
  72. docs/source/tutorial/db6.md +0 -178
  73. docs/source/tutorial/index.md +0 -20
  74. docs/source/tutorial/mysetting.md +0 -124
  75. docs/source/tutorial/xml.md +0 -140
  76. pyrekordbox/db6/smart_playlist.py +0 -333
  77. pyrekordbox/xml.py +0 -8
  78. pyrekordbox-0.3.1.dist-info/RECORD +0 -84
  79. tests/__init__.py +0 -3
  80. tests/test_anlz.py +0 -206
  81. tests/test_config.py +0 -175
  82. tests/test_db6.py +0 -1115
  83. tests/test_mysetting.py +0 -203
  84. tests/test_xml.py +0 -629
docs/source/conf.py DELETED
@@ -1,178 +0,0 @@
1
- # Configuration file for the Sphinx documentation builder.
2
- #
3
- # This file only contains a selection of the most common options. For a full
4
- # list see the documentation:
5
- # https://www.sphinx-doc.org/en/master/usage/configuration.html
6
-
7
- # -- Path setup --------------------------------------------------------------
8
-
9
- # If extensions (or modules to document with autodoc) are in another directory,
10
- # add these directories to sys.path here. If the directory is relative to the
11
- # documentation root, use os.path.abspath to make it absolute, like shown here.
12
- #
13
- import os
14
- import sys
15
-
16
- sys.path.insert(0, os.path.abspath("../.."))
17
-
18
- import pyrekordbox
19
-
20
-
21
- # -- Project information -----------------------------------------------------
22
-
23
- project = "pyrekordbox"
24
- copyright = "2022-2023, Dylan Jones"
25
- author = "Dylan L. Jones"
26
- release = pyrekordbox.__version__
27
- version = release
28
- for sp in "abcfr":
29
- version = version.split(sp)[0]
30
-
31
- # -- General configuration ---------------------------------------------------
32
-
33
- # If your documentation needs a minimal Sphinx version, state it here.
34
- needs_sphinx = "4.4"
35
-
36
- # Add any Sphinx extension module names here, as strings. They can be
37
- # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
38
- # ones.
39
- extensions = [
40
- "sphinx.ext.autodoc",
41
- "numpydoc",
42
- "myst_parser",
43
- "numpydoc",
44
- "sphinx_copybutton",
45
- "sphinx.ext.napoleon",
46
- "sphinx.ext.autosummary",
47
- "sphinx.ext.autosectionlabel",
48
- "matplotlib.sphinxext.plot_directive",
49
- "sphinx.ext.intersphinx", # links to numpy, scipy ... docs
50
- "sphinx.ext.coverage",
51
- "sphinx.ext.extlinks", # define roles for links
52
- "sphinx.ext.viewcode",
53
- ]
54
-
55
- # If you need extensions of a certain version or higher, list them here.
56
- needs_extensions = {"myst_parser": "0.13.7"}
57
-
58
- # Add any paths that contain templates here, relative to this directory.
59
- templates_path = ["_templates"]
60
-
61
- # List of patterns, relative to source directory, that match files and
62
- # directories to ignore when looking for source files.
63
- # This pattern also affects html_static_path and html_extra_path.
64
-
65
- exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "tests"]
66
-
67
- # The suffix(es) of source filenames.
68
- # You can specify multiple suffix as a list of string:
69
- source_suffix = [".rst", ".md"]
70
-
71
- # Add any paths that contain custom static files (such as style sheets) here,
72
- # relative to this directory. They are copied after the builtin static files,
73
- # so a file named "default.css" will overwrite the builtin "default.css".
74
- html_static_path = ["_static"]
75
-
76
- html_theme_options = {
77
- "light_logo": "logos/dark/logo_primary.svg",
78
- "dark_logo": "logos/light/logo_primary.svg",
79
- "sidebar_hide_name": True,
80
- "footer_icons": [
81
- {
82
- "name": "GitHub",
83
- "url": "https://github.com/dylanljones/pyrekordbox",
84
- "html": """
85
- <svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 16 16">
86
- <path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path>
87
- </svg>
88
- """,
89
- "class": "",
90
- },
91
- ],
92
- }
93
-
94
- # html_title = f"{release} documentation"
95
-
96
- # -- Options for HTML output -------------------------------------------------
97
-
98
- # The theme to use for HTML and HTML Help pages. See the documentation for
99
- # a list of builtin themes.
100
- html_theme = "furo"
101
-
102
- # The name of the Pygments (syntax highlighting) style to use.
103
- # pygments_style = "sphinx"
104
- # pygments_dark_style = "monokai"
105
-
106
- # We need headers to be linkable to so ask MyST-Parser to autogenerate anchor IDs for
107
- # headers up to and including level 3.
108
- myst_heading_anchors = 3
109
-
110
- # Prettier support formatting some MyST syntax but not all, so let's disable the
111
- # unsupported yet still enabled by default ones.
112
- myst_disable_syntax = [
113
- "colon_fence",
114
- "myst_block_break",
115
- "myst_line_comment",
116
- "math_block",
117
- ]
118
-
119
-
120
- # Don't show type hints
121
- autodoc_typehints = "none"
122
-
123
- # Preserve order
124
- autodoc_member_order = "bysource"
125
-
126
-
127
- # -- Apidoc ------------------------------------------------------------------
128
-
129
- add_module_names = True
130
-
131
-
132
- # -- Autosummary -------------------------------------------------------------
133
-
134
- autosummary_generate = True
135
- # autosummary_imported_members = True
136
-
137
-
138
- # -- Numpy extension ---------------------------------------------------------
139
-
140
- numpydoc_use_plots = True
141
- # numpydoc_xref_param_type = True
142
- # numpydoc_xref_ignore = "all" # not working...
143
- numpydoc_show_class_members = False
144
-
145
-
146
- # -- Intersphinx -------------------------------------------------------------
147
-
148
- # taken from https://gist.github.com/bskinn/0e164963428d4b51017cebdb6cda5209
149
- intersphinx_mapping = {
150
- "python": (r"https://docs.python.org", None),
151
- "numpy": (r"https://docs.scipy.org/doc/numpy/", None),
152
- "np": (r"https://docs.scipy.org/doc/numpy/", None),
153
- "matplotlib": (r"https://matplotlib.org/", None),
154
- "<name>": ("https://docs.python.org/3/", None),
155
- }
156
-
157
-
158
- # -- Auto-run sphinx-apidoc --------------------------------------------------
159
-
160
-
161
- def run_apidoc(_):
162
- from sphinx.ext.apidoc import main
163
- import os
164
- import sys
165
-
166
- sys.path.append(os.path.join(os.path.dirname(__file__), ".."))
167
- cur_dir = os.path.abspath(os.path.dirname(__file__))
168
- proj_dir = os.path.dirname(os.path.dirname(cur_dir))
169
- doc_dir = os.path.join(proj_dir, "docs")
170
- output_path = os.path.join(doc_dir, "source", "generated")
171
- module = os.path.join(proj_dir, "pyrekordbox")
172
- exclude = os.path.join(module, "tests")
173
- template_dir = os.path.join(doc_dir, "source", "_templates", "apidoc")
174
- main(["-fMeT", "-o", output_path, module, exclude, "--templatedir", template_dir])
175
-
176
-
177
- def setup(app):
178
- app.connect("builder-inited", run_apidoc)
@@ -1,3 +0,0 @@
1
- ```{include} ../../../CHANGELOG.md
2
-
3
- ```
@@ -1,3 +0,0 @@
1
- ```{include} ../../../CONTRIBUTING.md
2
-
3
- ```