processtitle 0.2__tar.gz → 1.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.
- {processtitle-0.2/processtitle.egg-info → processtitle-1.0}/PKG-INFO +11 -6
- {processtitle-0.2 → processtitle-1.0}/README.md +9 -4
- {processtitle-0.2 → processtitle-1.0/processtitle.egg-info}/PKG-INFO +11 -6
- {processtitle-0.2 → processtitle-1.0}/pyproject.toml +1 -1
- {processtitle-0.2 → processtitle-1.0}/src/cpp/common.h +4 -0
- {processtitle-0.2 → processtitle-1.0}/src/processtitle/__init__.py +1 -1
- {processtitle-0.2 → processtitle-1.0}/Acknowledgments.md +0 -0
- {processtitle-0.2 → processtitle-1.0}/LICENSE +0 -0
- {processtitle-0.2 → processtitle-1.0}/MANIFEST.in +0 -0
- {processtitle-0.2 → processtitle-1.0}/processtitle.egg-info/SOURCES.txt +0 -0
- {processtitle-0.2 → processtitle-1.0}/processtitle.egg-info/dependency_links.txt +0 -0
- {processtitle-0.2 → processtitle-1.0}/processtitle.egg-info/top_level.txt +0 -0
- {processtitle-0.2 → processtitle-1.0}/setup.cfg +0 -0
- {processtitle-0.2 → processtitle-1.0}/setup.py +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/bsd.h +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/clobber.cpp +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/clobber.h +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/darwin.cpp +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/darwin.h +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/external/intrusive_shared_ptr/apple_cf_ptr.h +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/external/intrusive_shared_ptr/common.h +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/external/intrusive_shared_ptr/intrusive_shared_ptr.h +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/external/intrusive_shared_ptr/python_ptr.h +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/external/pylib/arguments.h +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/external/pylib/errors.h +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/external/pylib/locking.h +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/external/pylib/marshalling.h +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/external/pylib/method.h +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/external/pylib/util.h +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/linux.cpp +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/linux.h +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/logger.h +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/main.cpp +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/pch.h +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/solaris.cpp +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/solaris.h +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/win.cpp +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/cpp/win.h +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/extension.cpp +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/processtitle/_processtitle.pyi +0 -0
- {processtitle-0.2 → processtitle-1.0}/src/processtitle/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: processtitle
|
|
3
|
-
Version: 0
|
|
3
|
+
Version: 1.0
|
|
4
4
|
Summary: Customize process "title" as reported by ps and similar tools
|
|
5
5
|
Author-email: Eugene Gershnik <gershnik@hotmail.com>
|
|
6
6
|
License-Expression: BSD-3-Clause
|
|
@@ -9,7 +9,7 @@ Project-URL: Documentation, https://github.com/gershnik/processtitle
|
|
|
9
9
|
Project-URL: Issues, https://github.com/gershnik/processtitle/issues
|
|
10
10
|
Project-URL: Changelog, https://github.com/gershnik/processtitle/blob/master/CHANGELOG.md
|
|
11
11
|
Keywords: setproctitle,proctitle,process title,process name
|
|
12
|
-
Classifier: Development Status ::
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
13
|
Classifier: Operating System :: POSIX :: Linux
|
|
14
14
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
15
15
|
Classifier: Operating System :: Microsoft :: Windows
|
|
@@ -36,6 +36,12 @@ Dynamic: license-file
|
|
|
36
36
|
|
|
37
37
|
# processtitle
|
|
38
38
|
|
|
39
|
+
[](https://opensource.org/licenses/BSD-3-Clause)
|
|
40
|
+
[](https://www.python.org/downloads/release/python-3100/)
|
|
41
|
+
[](https://pypi.org/project/processtitle)
|
|
42
|
+
[](https://pepy.tech/projects/processtitle)
|
|
43
|
+
|
|
44
|
+
|
|
39
45
|
This Python extension module allows you to customize process "title" as reported by `ps`, `top`, Activity Monitor,
|
|
40
46
|
Task Manager and similar tools.
|
|
41
47
|
|
|
@@ -77,7 +83,7 @@ on ancient Linux kernels, Windows XP etc. etc. If you are stuck with a very old
|
|
|
77
83
|
|
|
78
84
|
## Requirements
|
|
79
85
|
|
|
80
|
-
* Python >= 3.10 capable of loading native extensions
|
|
86
|
+
* Python >= 3.10 capable of loading native extensions. In particular, CPython, PyPy and GraalPy are all supported.
|
|
81
87
|
* If your platform doesn't have a binary wheel available, you will need:
|
|
82
88
|
* A C++ compiler capable of compiling C++20 (GCC 10.2 or above and CLang 13 or above are known to work)
|
|
83
89
|
* Python development libraries available (like `python3-dev` package in most Linux distributions)
|
|
@@ -170,12 +176,11 @@ In addition:
|
|
|
170
176
|
### Linux
|
|
171
177
|
|
|
172
178
|
On Linux you will be able to see the process title in the output of `ps` or `top` commands, as well, as with any other
|
|
173
|
-
tool that displays process info.
|
|
174
|
-
by the original process executable name. For example: `{python3} your title`.
|
|
179
|
+
tool that displays process info.
|
|
175
180
|
|
|
176
181
|
To change the title, `processtitle` uses the following methods:
|
|
177
182
|
* [PR_SET_MM](https://www.man7.org/linux/man-pages/man2/PR_SET_MM.2const.html) call.
|
|
178
|
-
* [PR_SET_NAME](https://www.man7.org/linux/man-pages/man2/PR_SET_NAME.2const.html)
|
|
183
|
+
* [PR_SET_NAME](https://www.man7.org/linux/man-pages/man2/PR_SET_NAME.2const.html) call.
|
|
179
184
|
|
|
180
185
|
`processtitle.set_to()` returns `True` if at least one of these methods succeeded.
|
|
181
186
|
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# processtitle
|
|
2
2
|
|
|
3
|
+
[](https://opensource.org/licenses/BSD-3-Clause)
|
|
4
|
+
[](https://www.python.org/downloads/release/python-3100/)
|
|
5
|
+
[](https://pypi.org/project/processtitle)
|
|
6
|
+
[](https://pepy.tech/projects/processtitle)
|
|
7
|
+
|
|
8
|
+
|
|
3
9
|
This Python extension module allows you to customize process "title" as reported by `ps`, `top`, Activity Monitor,
|
|
4
10
|
Task Manager and similar tools.
|
|
5
11
|
|
|
@@ -41,7 +47,7 @@ on ancient Linux kernels, Windows XP etc. etc. If you are stuck with a very old
|
|
|
41
47
|
|
|
42
48
|
## Requirements
|
|
43
49
|
|
|
44
|
-
* Python >= 3.10 capable of loading native extensions
|
|
50
|
+
* Python >= 3.10 capable of loading native extensions. In particular, CPython, PyPy and GraalPy are all supported.
|
|
45
51
|
* If your platform doesn't have a binary wheel available, you will need:
|
|
46
52
|
* A C++ compiler capable of compiling C++20 (GCC 10.2 or above and CLang 13 or above are known to work)
|
|
47
53
|
* Python development libraries available (like `python3-dev` package in most Linux distributions)
|
|
@@ -134,12 +140,11 @@ In addition:
|
|
|
134
140
|
### Linux
|
|
135
141
|
|
|
136
142
|
On Linux you will be able to see the process title in the output of `ps` or `top` commands, as well, as with any other
|
|
137
|
-
tool that displays process info.
|
|
138
|
-
by the original process executable name. For example: `{python3} your title`.
|
|
143
|
+
tool that displays process info.
|
|
139
144
|
|
|
140
145
|
To change the title, `processtitle` uses the following methods:
|
|
141
146
|
* [PR_SET_MM](https://www.man7.org/linux/man-pages/man2/PR_SET_MM.2const.html) call.
|
|
142
|
-
* [PR_SET_NAME](https://www.man7.org/linux/man-pages/man2/PR_SET_NAME.2const.html)
|
|
147
|
+
* [PR_SET_NAME](https://www.man7.org/linux/man-pages/man2/PR_SET_NAME.2const.html) call.
|
|
143
148
|
|
|
144
149
|
`processtitle.set_to()` returns `True` if at least one of these methods succeeded.
|
|
145
150
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: processtitle
|
|
3
|
-
Version: 0
|
|
3
|
+
Version: 1.0
|
|
4
4
|
Summary: Customize process "title" as reported by ps and similar tools
|
|
5
5
|
Author-email: Eugene Gershnik <gershnik@hotmail.com>
|
|
6
6
|
License-Expression: BSD-3-Clause
|
|
@@ -9,7 +9,7 @@ Project-URL: Documentation, https://github.com/gershnik/processtitle
|
|
|
9
9
|
Project-URL: Issues, https://github.com/gershnik/processtitle/issues
|
|
10
10
|
Project-URL: Changelog, https://github.com/gershnik/processtitle/blob/master/CHANGELOG.md
|
|
11
11
|
Keywords: setproctitle,proctitle,process title,process name
|
|
12
|
-
Classifier: Development Status ::
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
13
|
Classifier: Operating System :: POSIX :: Linux
|
|
14
14
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
15
15
|
Classifier: Operating System :: Microsoft :: Windows
|
|
@@ -36,6 +36,12 @@ Dynamic: license-file
|
|
|
36
36
|
|
|
37
37
|
# processtitle
|
|
38
38
|
|
|
39
|
+
[](https://opensource.org/licenses/BSD-3-Clause)
|
|
40
|
+
[](https://www.python.org/downloads/release/python-3100/)
|
|
41
|
+
[](https://pypi.org/project/processtitle)
|
|
42
|
+
[](https://pepy.tech/projects/processtitle)
|
|
43
|
+
|
|
44
|
+
|
|
39
45
|
This Python extension module allows you to customize process "title" as reported by `ps`, `top`, Activity Monitor,
|
|
40
46
|
Task Manager and similar tools.
|
|
41
47
|
|
|
@@ -77,7 +83,7 @@ on ancient Linux kernels, Windows XP etc. etc. If you are stuck with a very old
|
|
|
77
83
|
|
|
78
84
|
## Requirements
|
|
79
85
|
|
|
80
|
-
* Python >= 3.10 capable of loading native extensions
|
|
86
|
+
* Python >= 3.10 capable of loading native extensions. In particular, CPython, PyPy and GraalPy are all supported.
|
|
81
87
|
* If your platform doesn't have a binary wheel available, you will need:
|
|
82
88
|
* A C++ compiler capable of compiling C++20 (GCC 10.2 or above and CLang 13 or above are known to work)
|
|
83
89
|
* Python development libraries available (like `python3-dev` package in most Linux distributions)
|
|
@@ -170,12 +176,11 @@ In addition:
|
|
|
170
176
|
### Linux
|
|
171
177
|
|
|
172
178
|
On Linux you will be able to see the process title in the output of `ps` or `top` commands, as well, as with any other
|
|
173
|
-
tool that displays process info.
|
|
174
|
-
by the original process executable name. For example: `{python3} your title`.
|
|
179
|
+
tool that displays process info.
|
|
175
180
|
|
|
176
181
|
To change the title, `processtitle` uses the following methods:
|
|
177
182
|
* [PR_SET_MM](https://www.man7.org/linux/man-pages/man2/PR_SET_MM.2const.html) call.
|
|
178
|
-
* [PR_SET_NAME](https://www.man7.org/linux/man-pages/man2/PR_SET_NAME.2const.html)
|
|
183
|
+
* [PR_SET_NAME](https://www.man7.org/linux/man-pages/man2/PR_SET_NAME.2const.html) call.
|
|
179
184
|
|
|
180
185
|
`processtitle.set_to()` returns `True` if at least one of these methods succeeded.
|
|
181
186
|
|
|
@@ -33,7 +33,7 @@ keywords = [
|
|
|
33
33
|
'setproctitle', 'proctitle', 'process title', 'process name'
|
|
34
34
|
]
|
|
35
35
|
classifiers = [
|
|
36
|
-
"Development Status ::
|
|
36
|
+
"Development Status :: 5 - Production/Stable",
|
|
37
37
|
|
|
38
38
|
"Operating System :: POSIX :: Linux",
|
|
39
39
|
"Operating System :: MacOS :: MacOS X",
|
|
@@ -27,6 +27,8 @@ struct Overloads : Ts... { using Ts::operator()...; };
|
|
|
27
27
|
template<class T>
|
|
28
28
|
constexpr bool dependentFalse = false;
|
|
29
29
|
|
|
30
|
+
#ifndef _WIN32
|
|
31
|
+
|
|
30
32
|
class FileDescriptor {
|
|
31
33
|
public:
|
|
32
34
|
FileDescriptor() noexcept = default;
|
|
@@ -114,3 +116,5 @@ inline auto readFile(const FileDescriptor & desc, void * buf, io_size_t nbyte) -
|
|
|
114
116
|
}
|
|
115
117
|
|
|
116
118
|
#endif
|
|
119
|
+
|
|
120
|
+
#endif
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{processtitle-0.2 → processtitle-1.0}/src/cpp/external/intrusive_shared_ptr/intrusive_shared_ptr.h
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|