Init: mediaserver

This commit is contained in:
2023-02-08 12:13:28 +01:00
parent 848bc9739c
commit f7c23d4ba9
31914 changed files with 6175775 additions and 0 deletions

View File

@@ -0,0 +1 @@
pip

View File

@@ -0,0 +1,13 @@
Copyright (c) 2018, Tzu-ping Chung <uranusjr@gmail.com>
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

View File

@@ -0,0 +1,120 @@
Metadata-Version: 2.1
Name: resolvelib
Version: 0.5.4
Summary: Resolve abstract dependencies into concrete ones
Home-page: https://github.com/sarugaku/resolvelib
Author: Tzu-ping Chung
Author-email: uranusjr@gmail.com
License: ISC License
Keywords: dependency,resolution
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: ISC License (ISCL)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Provides-Extra: examples
Requires-Dist: html5lib ; extra == 'examples'
Requires-Dist: packaging ; extra == 'examples'
Requires-Dist: pygraphviz ; extra == 'examples'
Requires-Dist: requests ; extra == 'examples'
Provides-Extra: lint
Requires-Dist: black ; extra == 'lint'
Requires-Dist: flake8 ; extra == 'lint'
Provides-Extra: release
Requires-Dist: setl ; extra == 'release'
Requires-Dist: towncrier ; extra == 'release'
Provides-Extra: test
Requires-Dist: commentjson ; extra == 'test'
Requires-Dist: packaging ; extra == 'test'
Requires-Dist: pytest ; extra == 'test'
==========
ResolveLib
==========
ResolveLib at the highest level provides a ``Resolver`` class that includes
dependency resolution logic. You give it some things, and a little information
on how it should interact with them, and it will spit out a resolution result.
Intended Usage
==============
::
import resolvelib
# Things I want to resolve.
requirements = [...]
# Implement logic so the resolver understands the requirement format.
class MyProvider:
...
provider = MyProvider()
reporter = resolvelib.BaseReporter()
# Create the (reusable) resolver.
resolver = resolvelib.Resolver(provider, reporter)
# Kick off the resolution process, and get the final result.
result = resolver.resolve(requirements)
The provider interface is specified in ``resolvelib.providers``. You don't
need to inherit anything, however, only need to implement the right methods.
Terminology
===========
The intention of this section is to unify the terms we use when talking about
this code base, and packaging in general, to avoid confusion. Class and
variable names in the code base should try to stick to terms defined here.
Things passed into ``Resolver.resolve()`` and provided by the provider are all
considered opaque. They don't need to adhere to this set of terminologies.
Nothing can go wrong as long as the provider implementers can keep their heads
straight.
Package
-------
A thing that can be installed. A Package can have one or more versions
available for installation.
Version
-------
A string, usually in a number form, describing a snapshot of a Package. This
number should increase when a Package post a new snapshot, i.e. a higher number
means a more up-to-date snapshot.
Specifier
---------
A collection of one or more Versions. This could be a wildcard, indicating that
any Version is acceptable.
Candidate
---------
A combination of a Package and a Version, i.e. a "concrete requirement". Python
people sometimes call this a "locked" or "pinned" dependency. Both of
"requirement" and "dependency", however, SHOULD NOT be used when describing a
Candidate, to avoid confusion.
Some resolver architectures refer this as a "specification", but it is not
used here to avoid confusion with a *Specifier*.
Requirement
-----------
An intention to acquire a needed package, i.e. an "abstract requirement". A
"dependency", if not clarified otherwise, also refers to this concept.
A Requirement should specify two things: a Package, and a Specifier.

View File

@@ -0,0 +1,20 @@
resolvelib-0.5.4.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
resolvelib-0.5.4.dist-info/LICENSE,sha256=84j9OMrRMRLB3A9mm76A5_hFQe26-3LzAw0sp2QsPJ0,751
resolvelib-0.5.4.dist-info/METADATA,sha256=igEzFkwiI6hBcr8TJQa1qoUknjCmwaIEizkRh96gH7c,3747
resolvelib-0.5.4.dist-info/RECORD,,
resolvelib-0.5.4.dist-info/WHEEL,sha256=ADKeyaGyKF5DwBNE0sRE5pvW-bSkFMJfBuhzZ3rceP4,110
resolvelib-0.5.4.dist-info/top_level.txt,sha256=FDTG_P0FHx27WhAzm66T5zPx99M0H41BMfxiDMrhuyY,11
resolvelib/__init__.py,sha256=2PNhfXF78QcG1lQgJ-Fn65vmYJpLiCpfGyJIx1_-WDg,537
resolvelib/__pycache__/__init__.cpython-310.pyc,,
resolvelib/__pycache__/providers.cpython-310.pyc,,
resolvelib/__pycache__/reporters.cpython-310.pyc,,
resolvelib/__pycache__/resolvers.cpython-310.pyc,,
resolvelib/__pycache__/structs.cpython-310.pyc,,
resolvelib/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
resolvelib/compat/__pycache__/__init__.cpython-310.pyc,,
resolvelib/compat/__pycache__/collections_abc.cpython-310.pyc,,
resolvelib/compat/collections_abc.py,sha256=mtTkpr3Gf3OGvU1PD8YuvrJRhVbioxV82T-niFPoX3o,127
resolvelib/providers.py,sha256=lzLwHTIVQ0siopEFXoL9gytVgxMD1zCW9z-YjXNBgg8,5091
resolvelib/reporters.py,sha256=hQvvXuuEBOyEWO8KDfLsWKVjX55UFMAUwO0YZMNpzAw,1364
resolvelib/resolvers.py,sha256=iwkU_zrWg_dI0i2v6yZXIwdcLG8-hKb_WNb72r5gMAQ,16538
resolvelib/structs.py,sha256=sBUkozE5h5ewUz4FYXHLIZs-N-Er94ADNiL5Y3NPigU,4408

View File

@@ -0,0 +1,6 @@
Wheel-Version: 1.0
Generator: bdist_wheel (0.35.1)
Root-Is-Purelib: true
Tag: py2-none-any
Tag: py3-none-any

View File

@@ -0,0 +1 @@
resolvelib