Tez Control
Tez Control is a command-line tool that allows users to interact with and control remote servers, generate configuration files, and execute custom commands. It is designed to make server management and configuration setup simple and efficient.
Features
- Connect to Real Server: Enter and interact with a remote server directly from your terminal.
- Generate Configuration Files: Automatically generate configuration files like
.serviceandnginx.conffor your project. - Run Custom Commands On Server: Execute commands on the server as per your project needs.
- Run Custom Commands On Local: Execute commands on the current local path.
Installation
You can install tez-control via pip:
pip install tez-control
Usage
Entering the Real Server
Once you have tez-control installed, you can connect to a remote server with the following command:
tez sv
This will prompt you to enter your server's host, user, and password (configured in your settings). Once connected, you will have an interactive terminal where you can run shell commands on the server.
You can navigate directories, run commands, and even cancel a command with Ctrl+C. Type exit to disconnect from the server.
tez ex
Configuration File (.tez)
tez-control uses a .tez configuration file to store connection details and project settings. The default location for this file is your home directory (~/.tez). Below is an example of what the file should look like:
[server]
SERVER_HOST=1.1.1.1
SERVER_USER=root
SERVER_PASSWORD=1234
SERVER_PORT=22
[project]
PROJECT_PATH=/path/project
[server-commands]
restart=git pull && sudo systemctl restart my_project
pull=git pull
[local-commands]
push=git add . && git commit -m '$1' && git push
In this commands have numbers with $ this char. When you use that you can receive dynamic attributes, strings everything that you can give Make sure to adjust the values for your specific server and project configuration.
Contributing
If you'd like to contribute to tez-control, feel free to fork the repository and create pull requests. We welcome improvements, bug fixes, and new features.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Key Sections Added:
- Entering the Real Server: Describes how users can use the
tez svcommand to connect to a remote server interactively. - .tez Configuration File: Generate example with
tez ex
This README.md should help guide users in installing, configuring, and using tez-control effectively.
Let me know if you'd like further adjustments!
Metadata
Release files for tez-control 1.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| tez_control-1.0.8.tar.gz | 7.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tez_control-1.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.0 kB
Release files / tez_control-1.0.8.tar.gz
| Download URL | tez_control-1.0.8.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ee45634a040390c23156dc9e0d7cfdd63f492697101bdc928fca640e306f65a
|
|
BLAKE2b-256 checksum How to use checksums |
1d6054cf90605026cb03a9373f1979d1b953c0f932c898064ee45cb81540391e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|
Release files / tez_control-1.0.8-py3-none-any.whl
| Download URL | tez_control-1.0.8-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f8909fcab910ec12250d4e1ae4ecbbef13186abde563ec90a47a0d56c6702dde
|
|
BLAKE2b-256 checksum How to use checksums |
130fb30024b5c139524ae7936a535584eceea81d35ee95688576f148f54085da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|
Security for tez-control 1.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.