Compare commits

..

4 Commits
0.0.3 ... 0.0.7

Author SHA1 Message Date
Josiah Baldwin
33680dab5d Updated __init__ imports 2024-12-02 13:02:15 -08:00
Josiah Baldwin
05f1bae04d Changed pypi name to libmeshctrl because meshctrl is taken 2024-12-02 12:40:42 -08:00
Josiah Baldwin
b0b89b89e6 Fixed install_requires 2024-12-02 12:20:58 -08:00
Josiah Baldwin
fdc2b11afd Added note that proxy is not yet implemented 2024-12-02 11:59:54 -08:00
4 changed files with 11 additions and 6 deletions

Binary file not shown.

View File

@@ -4,7 +4,7 @@
# https://setuptools.pypa.io/en/latest/references/keywords.html
[metadata]
name = meshctrl
name = libmeshctrl
description = Python package for interacting with a Meshcentral server instance
author = Josiah Baldwin
author_email = jbaldwin8889@gmail.com
@@ -36,14 +36,16 @@ package_dir =
=src
# Require a min/specific Python version (comma-separated conditions)
# python_requires = >=3.8
python_requires = >=3.8
# Add here dependencies of your project (line-separated), e.g. requests>=2.2,<3.0.
# Version specifiers like >=2.2,<3.0 avoid problems due to API changes in
# new major versions. This works if the required packages follow Semantic Versioning.
# For more information, check out https://semver.org/.
install_requires =
importlib-metadata; python_version<"3.8"
importlib-metadata
cryptography>=43.0.3
websockets>=13.1
[options.packages.find]

View File

@@ -15,10 +15,13 @@ except PackageNotFoundError: # pragma: no cover
finally:
del version, PackageNotFoundError
from . import session
from .session import Session
from . import constants
from . import shell
from . import tunnel
from . import util
from . import files
from . import exceptions
from . import exceptions
from . import device
from . import mesh
from . import user_group

View File

@@ -28,7 +28,7 @@ class Session(object):
domain (str): Domain to connect to
password (str): Password with which to connect. Can also be password generated from token.
loginkey (str|bytes): Key from already handled login. Overrides username/password.
proxy (str): "url:port" to use for proxy server
proxy (str): "url:port" to use for proxy server NOTE: This is currently not implemented due to a limitation of the undersying websocket library. Upvote the issue if you find this important.
token (str): Login token. This appears to be superfluous
ignore_ssl (bool): Ignore SSL errors