HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings.
2.0.0-chaika
Hierarchical Cluster Engine Python language binding
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
i
j
l
m
o
p
r
s
t
u
v
w
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Files
File List
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
dc-daemon.py
Go to the documentation of this file.
1
#!/usr/bin/python
2
3
4
"""
5
HCE project, Python bindings, Distributed Tasks Manager application.
6
Event objects definitions.
7
8
@package: dc
9
@file dc-daemon.py
10
@author Oleksii <developers.hce@gmail.com>
11
@link: http://hierarchical-cluster-engine.com/
12
@copyright: Copyright © 2013-2014 IOIX Ukraine
13
@license: http://hierarchical-cluster-engine.com/license/
14
@since: 0.1
15
"""
16
17
18
import
ppath
19
from
ppath
import
sys
20
21
from
dc.DCD
import
DCD
22
23
24
#That script create main daemon application to run dtm
25
26
27
# create the app
28
app =
None
29
30
try
:
31
app =
DCD
()
32
# setup the application
33
app.setup()
34
app.args.add_argument(
'-c'
,
'--config'
, action=
'store'
, metavar=
'config_file'
, help=
'config ini-file'
, required=
True
)
35
app.args.add_argument(
'-n'
,
'--name'
, action=
'store'
, metavar=
'app_name'
, help=
'application name'
)
36
# run the application
37
app.run()
38
39
except
:
40
raise
41
finally
:
42
# close the app
43
app.close()
dc.DCD
Definition:
DCD.py:1
dc.DCD.DCD
Definition:
DCD.py:45
sources
bin
dc-daemon.py
Generated on Fri Nov 24 2017 18:53:52 for HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings. by
1.8.13