ghostrow 1.0.0__py3-none-win_amd64.whl

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.
ghostrow/__init__.py ADDED
@@ -0,0 +1,3 @@
1
+ """Ghostrow: realistic, consistent test data from your database schema."""
2
+
3
+ __version__ = "1.0.0"
ghostrow/__main__.py ADDED
@@ -0,0 +1,34 @@
1
+ """Launch the bundled Ghostrow binary."""
2
+
3
+ import os
4
+ import stat
5
+ import subprocess
6
+ import sys
7
+
8
+
9
+ def _binary_path():
10
+ name = "ghostrow.exe" if sys.platform == "win32" else "ghostrow"
11
+ return os.path.join(os.path.dirname(os.path.abspath(__file__)), "bin", name)
12
+
13
+
14
+ def main():
15
+ path = _binary_path()
16
+ if not os.path.isfile(path):
17
+ sys.stderr.write("ghostrow: bundled binary not found at %s\n" % path)
18
+ sys.exit(1)
19
+
20
+ if sys.platform != "win32":
21
+ mode = os.stat(path).st_mode
22
+ if not mode & stat.S_IXUSR:
23
+ try:
24
+ os.chmod(path, mode | stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH)
25
+ except OSError:
26
+ pass
27
+ os.execv(path, [path] + sys.argv[1:])
28
+
29
+ completed = subprocess.run([path] + sys.argv[1:])
30
+ sys.exit(completed.returncode)
31
+
32
+
33
+ if __name__ == "__main__":
34
+ main()
@@ -0,0 +1,4 @@
1
+ [diffend] Oversized file quarantined before diffing.
2
+ name: ghostrow/bin/ghostrow.exe
3
+ size: 101275136 bytes
4
+ sha256: e9bb41820c1d38baed390e5aa35cccaa2e67c83766f3ce44a4ef94d4bbb4acee
@@ -0,0 +1,31 @@
1
+ Metadata-Version: 2.1
2
+ Name: ghostrow
3
+ Version: 1.0.0
4
+ Summary: Realistic, consistent test data from your database schema. Offline, seeded, no real personal data.
5
+ Home-page: https://ghostrow.com
6
+ Author: Ghostrow Labs LLC
7
+ License: Proprietary (https://ghostrow.com/legal/eula)
8
+ Requires-Python: >=3.8
9
+ Description-Content-Type: text/markdown
10
+
11
+ # Ghostrow
12
+
13
+ Ghostrow turns a database schema into realistic, consistent test data that contains no real
14
+ personal data. It runs offline, is seeded so output is repeatable, and works with Postgres,
15
+ MySQL, SQL Server and SQLite.
16
+
17
+ This package installs the Ghostrow command line tool. It bundles the program, so Node.js is not
18
+ needed.
19
+
20
+ ```sh
21
+ pip install ghostrow
22
+ ghostrow --version
23
+ ghostrow seed --schema schema.sql --dry-run
24
+ ghostrow seed --schema schema.sql --seed 42 --rows 5000 --out fixtures/
25
+ ```
26
+
27
+ Free works without a key. Plus, Pro and Max need a license from https://ghostrow.com; activate
28
+ it with `ghostrow activate <key>`.
29
+
30
+ Documentation: https://ghostrow.com/docs/quickstart
31
+ License: proprietary, see https://ghostrow.com/legal/eula
@@ -0,0 +1,7 @@
1
+ ghostrow/__init__.py,sha256=65MLjiNDmVWMGmerT6a7ww9d5-sjFvsNLZ18bjAoBOI,98
2
+ ghostrow/__main__.py,sha256=7RJ6LNl3hlqHrFbZXqNR9JFBYF1pXCX3EeQeitQAyvE,901
3
+ ghostrow/bin/ghostrow.exe,sha256=6btBggwdOLrtOQ5ao1zMqi5nyDdm885EpO-U1Lu0rO4,101275136
4
+ ghostrow-1.0.0.dist-info/METADATA,sha256=_6X0EF-iym5FY6drC4xLcuWO5UUA0t_6z8W3Q7wOlsU,1077
5
+ ghostrow-1.0.0.dist-info/WHEEL,sha256=Bbyk_C9KBEx8GO5z8uA1FZ3NBkZGZ7k2Ue8_w3MdzE0,92
6
+ ghostrow-1.0.0.dist-info/entry_points.txt,sha256=oYShyQ5A16_iu5b-I0suVSvHwHC4DVzh8bUZ9B2qTeA,52
7
+ ghostrow-1.0.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: ghostrow-build
3
+ Root-Is-Purelib: false
4
+ Tag: py3-none-win_amd64
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ ghostrow = ghostrow.__main__:main