raqeb-cli 1.0.0__tar.gz

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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Tzamun Arabia IT Co
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,3 @@
1
+ include README.md
2
+ include LICENSE
3
+ recursive-include raqeb_cli *.py
@@ -0,0 +1,73 @@
1
+ Metadata-Version: 2.4
2
+ Name: raqeb-cli
3
+ Version: 1.0.0
4
+ Summary: Raqeb CLI - Command-line tool for Database PAM and Developer Secrets Management
5
+ Home-page: https://github.com/Tzamun-Arabia-IT-Co/raqeb-cli
6
+ Author: Tzamun Arabia IT Co
7
+ Author-email: Tzamun Arabia IT Co <support@tzamun.sa>
8
+ License: MIT
9
+ Project-URL: Homepage, https://raqeb.cloud
10
+ Project-URL: Documentation, https://docs.raqeb.cloud
11
+ Project-URL: Repository, https://github.com/Tzamun-Arabia-IT-Co/raqeb-cli
12
+ Keywords: pam,security,secrets,database,credentials,cli
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Programming Language :: Python :: 3
17
+ Requires-Python: >=3.7
18
+ Description-Content-Type: text/markdown
19
+ License-File: LICENSE
20
+ Dynamic: author
21
+ Dynamic: home-page
22
+ Dynamic: license-file
23
+ Dynamic: requires-python
24
+
25
+ # Raqeb CLI
26
+
27
+ Command-line tool for **Raqeb Privileged Access Management (PAM)** platform.
28
+
29
+ ## Features
30
+
31
+ - 🔐 **Database PAM**: Get temporary database credentials
32
+ - 🔑 **Secrets Management**: Securely retrieve secrets
33
+ - 🚀 **Service Accounts**: Programmatic API access
34
+ - 📊 **Audit Logs**: Track all access activities
35
+ - 🔒 **Zero Trust**: Dynamic credentials with auto-expiration
36
+
37
+ ## Installation
38
+
39
+ ```bash
40
+ pip install raqeb-cli
41
+ ```
42
+
43
+ **Requirements:** Node.js 14+ (automatically installed via npm)
44
+
45
+ ## Quick Start
46
+
47
+ ```bash
48
+ # Login to Raqeb
49
+ raqeb login
50
+
51
+ # Get temporary database credentials
52
+ raqeb db connect <database-id> --ttl 2
53
+
54
+ # Retrieve a secret
55
+ raqeb secrets get <secret-name>
56
+
57
+ # View audit logs
58
+ raqeb audit list
59
+ ```
60
+
61
+ ## Documentation
62
+
63
+ Full documentation: https://docs.raqeb.cloud
64
+
65
+ ## Support
66
+
67
+ - Website: https://raqeb.cloud
68
+ - Email: support@tzamun.sa
69
+ - GitHub: https://github.com/Tzamun-Arabia-IT-Co/raqeb-cli
70
+
71
+ ## License
72
+
73
+ MIT License - Copyright (c) 2026 Tzamun Arabia IT Co
@@ -0,0 +1,49 @@
1
+ # Raqeb CLI
2
+
3
+ Command-line tool for **Raqeb Privileged Access Management (PAM)** platform.
4
+
5
+ ## Features
6
+
7
+ - 🔐 **Database PAM**: Get temporary database credentials
8
+ - 🔑 **Secrets Management**: Securely retrieve secrets
9
+ - 🚀 **Service Accounts**: Programmatic API access
10
+ - 📊 **Audit Logs**: Track all access activities
11
+ - 🔒 **Zero Trust**: Dynamic credentials with auto-expiration
12
+
13
+ ## Installation
14
+
15
+ ```bash
16
+ pip install raqeb-cli
17
+ ```
18
+
19
+ **Requirements:** Node.js 14+ (automatically installed via npm)
20
+
21
+ ## Quick Start
22
+
23
+ ```bash
24
+ # Login to Raqeb
25
+ raqeb login
26
+
27
+ # Get temporary database credentials
28
+ raqeb db connect <database-id> --ttl 2
29
+
30
+ # Retrieve a secret
31
+ raqeb secrets get <secret-name>
32
+
33
+ # View audit logs
34
+ raqeb audit list
35
+ ```
36
+
37
+ ## Documentation
38
+
39
+ Full documentation: https://docs.raqeb.cloud
40
+
41
+ ## Support
42
+
43
+ - Website: https://raqeb.cloud
44
+ - Email: support@tzamun.sa
45
+ - GitHub: https://github.com/Tzamun-Arabia-IT-Co/raqeb-cli
46
+
47
+ ## License
48
+
49
+ MIT License - Copyright (c) 2026 Tzamun Arabia IT Co
@@ -0,0 +1,26 @@
1
+ [build-system]
2
+ requires = ["setuptools>=45", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "raqeb-cli"
7
+ version = "1.0.0"
8
+ description = "Raqeb CLI - Command-line tool for Database PAM and Developer Secrets Management"
9
+ readme = "README.md"
10
+ requires-python = ">=3.7"
11
+ license = {text = "MIT"}
12
+ authors = [
13
+ {name = "Tzamun Arabia IT Co", email = "support@tzamun.sa"}
14
+ ]
15
+ keywords = ["pam", "security", "secrets", "database", "credentials", "cli"]
16
+ classifiers = [
17
+ "Development Status :: 4 - Beta",
18
+ "Intended Audience :: Developers",
19
+ "License :: OSI Approved :: MIT License",
20
+ "Programming Language :: Python :: 3",
21
+ ]
22
+
23
+ [project.urls]
24
+ Homepage = "https://raqeb.cloud"
25
+ Documentation = "https://docs.raqeb.cloud"
26
+ Repository = "https://github.com/Tzamun-Arabia-IT-Co/raqeb-cli"
@@ -0,0 +1,5 @@
1
+ """Raqeb CLI - Command-line tool for Database PAM and Developer Secrets Management."""
2
+
3
+ __version__ = "1.0.0"
4
+ __author__ = "Tzamun Arabia IT Co"
5
+ __email__ = "support@tzamun.sa"
@@ -0,0 +1,59 @@
1
+ #!/usr/bin/env python3
2
+ """
3
+ Raqeb CLI - Python wrapper for the Node.js CLI
4
+ This wrapper ensures Node.js CLI is installed and delegates all commands to it.
5
+ """
6
+
7
+ import subprocess
8
+ import sys
9
+ import os
10
+ import shutil
11
+
12
+ def check_nodejs():
13
+ """Check if Node.js is installed."""
14
+ if not shutil.which('node'):
15
+ print("Error: Node.js is required but not installed.")
16
+ print("Please install Node.js from https://nodejs.org/")
17
+ sys.exit(1)
18
+
19
+ def check_npm():
20
+ """Check if npm is installed."""
21
+ if not shutil.which('npm'):
22
+ print("Error: npm is required but not installed.")
23
+ print("Please install Node.js (includes npm) from https://nodejs.org/")
24
+ sys.exit(1)
25
+
26
+ def install_raqeb_cli():
27
+ """Install the actual raqeb-cli via npm if not already installed."""
28
+ try:
29
+ # Check if raqeb command exists
30
+ result = subprocess.run(['which', 'raqeb'], capture_output=True)
31
+ if result.returncode != 0:
32
+ print("Installing raqeb-cli via npm...")
33
+ subprocess.run(['npm', 'install', '-g', 'raqeb-cli'], check=True)
34
+ print("✓ raqeb-cli installed successfully!")
35
+ except subprocess.CalledProcessError as e:
36
+ print(f"Error installing raqeb-cli: {e}")
37
+ sys.exit(1)
38
+
39
+ def main():
40
+ """Main entry point - delegates to Node.js CLI."""
41
+ # Check prerequisites
42
+ check_nodejs()
43
+ check_npm()
44
+ install_raqeb_cli()
45
+
46
+ # Delegate to the actual raqeb CLI
47
+ try:
48
+ # Pass all arguments to the Node.js CLI
49
+ result = subprocess.run(['raqeb'] + sys.argv[1:])
50
+ sys.exit(result.returncode)
51
+ except KeyboardInterrupt:
52
+ print("\nInterrupted by user")
53
+ sys.exit(130)
54
+ except Exception as e:
55
+ print(f"Error running raqeb: {e}")
56
+ sys.exit(1)
57
+
58
+ if __name__ == '__main__':
59
+ main()
@@ -0,0 +1,73 @@
1
+ Metadata-Version: 2.4
2
+ Name: raqeb-cli
3
+ Version: 1.0.0
4
+ Summary: Raqeb CLI - Command-line tool for Database PAM and Developer Secrets Management
5
+ Home-page: https://github.com/Tzamun-Arabia-IT-Co/raqeb-cli
6
+ Author: Tzamun Arabia IT Co
7
+ Author-email: Tzamun Arabia IT Co <support@tzamun.sa>
8
+ License: MIT
9
+ Project-URL: Homepage, https://raqeb.cloud
10
+ Project-URL: Documentation, https://docs.raqeb.cloud
11
+ Project-URL: Repository, https://github.com/Tzamun-Arabia-IT-Co/raqeb-cli
12
+ Keywords: pam,security,secrets,database,credentials,cli
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Programming Language :: Python :: 3
17
+ Requires-Python: >=3.7
18
+ Description-Content-Type: text/markdown
19
+ License-File: LICENSE
20
+ Dynamic: author
21
+ Dynamic: home-page
22
+ Dynamic: license-file
23
+ Dynamic: requires-python
24
+
25
+ # Raqeb CLI
26
+
27
+ Command-line tool for **Raqeb Privileged Access Management (PAM)** platform.
28
+
29
+ ## Features
30
+
31
+ - 🔐 **Database PAM**: Get temporary database credentials
32
+ - 🔑 **Secrets Management**: Securely retrieve secrets
33
+ - 🚀 **Service Accounts**: Programmatic API access
34
+ - 📊 **Audit Logs**: Track all access activities
35
+ - 🔒 **Zero Trust**: Dynamic credentials with auto-expiration
36
+
37
+ ## Installation
38
+
39
+ ```bash
40
+ pip install raqeb-cli
41
+ ```
42
+
43
+ **Requirements:** Node.js 14+ (automatically installed via npm)
44
+
45
+ ## Quick Start
46
+
47
+ ```bash
48
+ # Login to Raqeb
49
+ raqeb login
50
+
51
+ # Get temporary database credentials
52
+ raqeb db connect <database-id> --ttl 2
53
+
54
+ # Retrieve a secret
55
+ raqeb secrets get <secret-name>
56
+
57
+ # View audit logs
58
+ raqeb audit list
59
+ ```
60
+
61
+ ## Documentation
62
+
63
+ Full documentation: https://docs.raqeb.cloud
64
+
65
+ ## Support
66
+
67
+ - Website: https://raqeb.cloud
68
+ - Email: support@tzamun.sa
69
+ - GitHub: https://github.com/Tzamun-Arabia-IT-Co/raqeb-cli
70
+
71
+ ## License
72
+
73
+ MIT License - Copyright (c) 2026 Tzamun Arabia IT Co
@@ -0,0 +1,11 @@
1
+ LICENSE
2
+ MANIFEST.in
3
+ README.md
4
+ pyproject.toml
5
+ setup.py
6
+ raqeb_cli/__init__.py
7
+ raqeb_cli/cli.py
8
+ raqeb_cli.egg-info/PKG-INFO
9
+ raqeb_cli.egg-info/SOURCES.txt
10
+ raqeb_cli.egg-info/dependency_links.txt
11
+ raqeb_cli.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ raqeb_cli
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,48 @@
1
+ from setuptools import setup, find_packages
2
+ import os
3
+
4
+ # Read README
5
+ with open("README.md", "r", encoding="utf-8") as fh:
6
+ long_description = fh.read()
7
+
8
+ setup(
9
+ name="raqeb-cli",
10
+ version="1.0.0",
11
+ author="Tzamun Arabia IT Co",
12
+ author_email="support@tzamun.sa",
13
+ description="Raqeb CLI - Command-line tool for Database PAM and Developer Secrets Management",
14
+ long_description=long_description,
15
+ long_description_content_type="text/markdown",
16
+ url="https://github.com/Tzamun-Arabia-IT-Co/raqeb-cli",
17
+ project_urls={
18
+ "Bug Tracker": "https://github.com/Tzamun-Arabia-IT-Co/raqeb-cli/issues",
19
+ "Documentation": "https://docs.raqeb.cloud",
20
+ "Homepage": "https://raqeb.cloud",
21
+ },
22
+ packages=find_packages(),
23
+ classifiers=[
24
+ "Development Status :: 4 - Beta",
25
+ "Intended Audience :: Developers",
26
+ "Intended Audience :: System Administrators",
27
+ "Topic :: Security",
28
+ "Topic :: System :: Systems Administration",
29
+ "License :: OSI Approved :: MIT License",
30
+ "Programming Language :: Python :: 3",
31
+ "Programming Language :: Python :: 3.7",
32
+ "Programming Language :: Python :: 3.8",
33
+ "Programming Language :: Python :: 3.9",
34
+ "Programming Language :: Python :: 3.10",
35
+ "Programming Language :: Python :: 3.11",
36
+ "Operating System :: OS Independent",
37
+ ],
38
+ python_requires=">=3.7",
39
+ install_requires=[
40
+ "requests>=2.28.0",
41
+ ],
42
+ entry_points={
43
+ "console_scripts": [
44
+ "raqeb=raqeb_cli.cli:main",
45
+ ],
46
+ },
47
+ keywords="pam security secrets database credentials cli",
48
+ )