Skip to main content

A Python package to manage all my machines in the fingertip.

Project description

Machine Room Management on my console

Locate and manage all my machines on my console.

Introduction

Congratulations on utilizing technology to improve your machine room management! Having a machine room management app on your console, easily accessible at your fingertips, is a game-changer. It streamlines processes, increases efficiency, and allows you to stay on top of everything with ease. By taking advantage of this tool, you are not only simplifying your workload but also paving the way for future success. Keep up the great work and continue to embrace innovation in your everyday tasks. You’ve got this!

Why

  1. Improved efficiency: By having all machines located and managed on one console, you can easily track and monitor their performance, making it easier to identify and address issues quickly. This can help to prevent downtime and keep your operations running smoothly.

  2. Centralized control: Having all machines on one console allows for centralized control and management, making it easier to implement changes, updates, or maintenance tasks across all machines simultaneously.

  3. Increased visibility: With all machines located on one console, you have greater visibility into the status and performance of each machine, allowing you to make more informed decisions and better plan for maintenance and upgrades.

  4. Enhanced security: Centralized management of all machines can help to improve security by providing better oversight of access controls, security settings, and compliance with policies and regulations.

  5. Cost savings: Managing all machines on one console can help to reduce operational costs by streamlining processes, improving efficiency, and reducing the need for manual intervention.

  6. Scalability: As your operations grow, having all machines on one console makes it easier to scale up and add new machines, without the need for additional management tools or resources.

  7. Improved collaboration: Centralized management of all machines can facilitate better collaboration among team members, as everyone can access the same data, reports, and tools from one console.

Current features

List IPs Sync the ip list into the local record Manage authentications Add certificate Remove certificate

Installation

There are no requirements for this tool.

::

pip3 install machineroom

or if you want to get the upgrade

::

sudo pip3 install machineroom --upgrade

Create bin file for easy execution


on macosx

::

   #!/Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11
   # -*- coding: utf-8 -*-


   # setup your desired configuration path in the local machine
   import machineroom.const.Config
   Config.DATAPATH_BASE = "...."
   Config.PUB_KEY = "...."


   from machineroom.worker import internal_work

   if __name__ == '__main__':
       internal_work()

The configurations are available as below

::

DATAPATH_BASE = "...._file....locator" TEMP_FILE = "tmp.txt" TEMP_JS = "tmp.js" REMOTE_WS = "...remote_locator" RAM_GB_REQUIREMENT = 4 PUB_KEY = "/Users/xxxx/.ssh/id_rsa.pub" LOCAL_KEY_HOLDER = "/Users/xxxx/.ssh" MY_KEY_FEATURE = "xxxx@xxxxx" REMOTE_HOME = "/root" DOCKER_COMPOSE_VERSION = "2.24.6"

Usage

::

usage: connect [-h] [server id]

optional arguments: -h, --help Show this help message and exit -ls, Show a list of the existing servers in my list -scan, Scan the existing server in the access list for health check -import, --from the import list of the server file within the given format

Example


::

   connect serverabc

connect the console to the existing machine in ssh

::

   connect ls

License

MIT License (2022), Jun-You Liu, Heskemo BTC

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

machineroom-0.46.8.tar.gz (32.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

machineroom-0.46.8-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file machineroom-0.46.8.tar.gz.

File metadata

  • Download URL: machineroom-0.46.8.tar.gz
  • Upload date:
  • Size: 32.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.0

File hashes

Hashes for machineroom-0.46.8.tar.gz
Algorithm Hash digest
SHA256 3ec285c57b3d1be7e75eda9b57b7d21645f9057313449f0cdd680e3be213d9f6
MD5 6b7af0d5573ccaf3f96da7d30819d368
BLAKE2b-256 c81b2f7b2d39d2cfc4d0bc2d463e16eca75f153a5fe246d8c99271633f4207b3

See more details on using hashes here.

File details

Details for the file machineroom-0.46.8-py3-none-any.whl.

File metadata

  • Download URL: machineroom-0.46.8-py3-none-any.whl
  • Upload date:
  • Size: 30.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.0

File hashes

Hashes for machineroom-0.46.8-py3-none-any.whl
Algorithm Hash digest
SHA256 d98f260a2fc8bce11ac5b0742e8322cce546647da45b081af324911e3c05a6e1
MD5 ad0768a3b1e2dbadcf34b3d2b4ec079c
BLAKE2b-256 38504114f2a8d8f71bb7b7ace9421a7993bf14c2339db4a66edb1e0f8ce1aad8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page