@@ -9,99 +9,121 @@ msgstr ""
9
9
"Project-Id-Version : Python 3.12\n "
10
10
"Report-Msgid-Bugs-To : \n "
11
11
"POT-Creation-Date : 2024-03-14 12:51+0000\n "
12
- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE \n "
13
- "Last-Translator : FULL NAME <EMAIL@ADDRESS >\n "
14
- "Language-Team : LANGUAGE <LL@li.org >\n "
12
+ "PO-Revision-Date : 2025-01-22 13:33+0200 \n "
13
+ "Last-Translator : Marios Giannopoulos <mariosgian_2002@yahoo.gr >\n "
14
+ "Language-Team : PyGreece <pygreece@gmail.com >\n "
15
15
"MIME-Version : 1.0\n "
16
16
"Content-Type : text/plain; charset=UTF-8\n "
17
17
"Content-Transfer-Encoding : 8bit\n "
18
18
19
19
#: library/asyncio-queue.rst:7
20
20
msgid "Queues"
21
- msgstr ""
21
+ msgstr "Ουρές "
22
22
23
23
#: library/asyncio-queue.rst:9
24
24
msgid "**Source code:** :source:`Lib/asyncio/queues.py`"
25
- msgstr ""
25
+ msgstr "**Πηγαίος κώδικας:** :source:`Lib/asyncio/queues.py` "
26
26
27
27
#: library/asyncio-queue.rst:13
28
28
msgid ""
29
29
"asyncio queues are designed to be similar to classes of the :mod:`queue` "
30
30
"module. Although asyncio queues are not thread-safe, they are designed to "
31
31
"be used specifically in async/await code."
32
32
msgstr ""
33
+ "Οι ουρές asyncio έχουν σχεδιαστεί ώστε να μοιάζουν με τις κλάσεις του "
34
+ "module :mod:`queue`. Αν και οι ουρές asyncio δεν είναι ασφαλείς για χρήση "
35
+ "με νήματα (thread-safe), έχουν σχεδιαστεί για να χρησιμοποιούνται "
36
+ "συγκεκριμένα σε κώδικα async/await."
33
37
34
38
#: library/asyncio-queue.rst:17
35
39
msgid ""
36
40
"Note that methods of asyncio queues don't have a *timeout* parameter; use :"
37
41
"func:`asyncio.wait_for` function to do queue operations with a timeout."
38
42
msgstr ""
43
+ "Σημειώστε ότι οι μέθοδοι των ουρών asyncio δεν διαθέτουν παράμετρο "
44
+ "*timeout*. Χρησιμοποιήστε την συνάρτηση :func:`asyncio.wait_for` για να "
45
+ "εκτελέσετε λειτουργίες ουράς με χρονικό όριο."
39
46
40
47
#: library/asyncio-queue.rst:21
41
48
msgid "See also the `Examples`_ section below."
42
- msgstr ""
49
+ msgstr "Δείτε επίσης την ενότητα `Παραδείγματα`_ παρακάτω. "
43
50
44
51
#: library/asyncio-queue.rst:24
45
52
msgid "Queue"
46
- msgstr ""
53
+ msgstr "Ουρά "
47
54
48
55
#: library/asyncio-queue.rst:28
49
56
msgid "A first in, first out (FIFO) queue."
50
- msgstr ""
57
+ msgstr "Μια ουρά τύπου πρώτος που εισέρχεται, πρώτος που εξέρχεται (FIFO). "
51
58
52
59
#: library/asyncio-queue.rst:30
53
60
msgid ""
54
61
"If *maxsize* is less than or equal to zero, the queue size is infinite. If "
55
62
"it is an integer greater than ``0``, then ``await put()`` blocks when the "
56
63
"queue reaches *maxsize* until an item is removed by :meth:`get`."
57
64
msgstr ""
65
+ "Αν η τιμή του *maxsize* είναι λιγότερη ή ίση με το μηδέν, το μέγεθος της "
66
+ "ουράς είναι άπειρο. Αν είναι ένας ακέραιος μεγαλύτερος από το ``0``, τότε η "
67
+ "εντολή ``await put()`` μπλοκάρει, όταν η ουρά φτάσει το *maxsize* μέχρι να "
68
+ "αφαιρεθεί ένα στοιχείο μέσω της μεθόδου :meth:`get`."
58
69
59
70
#: library/asyncio-queue.rst:35
60
71
msgid ""
61
72
"Unlike the standard library threading :mod:`queue`, the size of the queue is "
62
73
"always known and can be returned by calling the :meth:`qsize` method."
63
74
msgstr ""
75
+ "Σε αντίθεση με την ουρά του :mod:`queue` στην βιβλιοθήκη threading, το "
76
+ "μέγεθος της ουράς είναι πάντα γνωστό και μπορεί να επιστραφεί καλώντας τη "
77
+ "μέθοδο :meth:`qsize`."
64
78
65
79
#: library/asyncio-queue.rst:39
66
80
msgid "Removed the *loop* parameter."
67
- msgstr ""
81
+ msgstr "Αφαιρέθηκε η παράμετρος *loop*. "
68
82
69
83
#: library/asyncio-queue.rst:43
70
84
msgid "This class is :ref:`not thread safe <asyncio-multithreading>`."
71
- msgstr ""
85
+ msgstr "Αυτή η κλάση είναι :ref:`not thread safe <asyncio-multithreading>`. "
72
86
73
87
#: library/asyncio-queue.rst:47
74
88
msgid "Number of items allowed in the queue."
75
- msgstr ""
89
+ msgstr "Αριθμός στοιχείων που επιτρέπονται στην ουρά. "
76
90
77
91
#: library/asyncio-queue.rst:51
78
92
msgid "Return ``True`` if the queue is empty, ``False`` otherwise."
79
- msgstr ""
93
+ msgstr "Επιστρέφει ``True`` αν η ουρά είναι άδεια, διαφορετικά ``False``. "
80
94
81
95
#: library/asyncio-queue.rst:55
82
96
msgid "Return ``True`` if there are :attr:`maxsize` items in the queue."
83
- msgstr ""
97
+ msgstr "Επιστρέφει ``True`` αν υπάρχουν :attr:`maxsize` αντικείμενα στην ουρά. "
84
98
85
99
#: library/asyncio-queue.rst:57
86
100
msgid ""
87
101
"If the queue was initialized with ``maxsize=0`` (the default), then :meth:"
88
102
"`full()` never returns ``True``."
89
103
msgstr ""
104
+ "Αν η ουρά αρχικοποιήθηκε με ``maxsize=0`` (προεπιλογή), τότε η :meth:"
105
+ "`full()` δεν επιστρέφει ποτέ ``True``."
90
106
91
107
#: library/asyncio-queue.rst:62
92
108
msgid ""
93
109
"Remove and return an item from the queue. If queue is empty, wait until an "
94
110
"item is available."
95
111
msgstr ""
112
+ "Αφαίρεση και επιστροφή ενός αντικειμένου από την ουρά. Αν η ουρά είναι κενή, "
113
+ "περιμένετε μέχρι να είναι διαθέσιμο ένα αντικείμενο."
96
114
97
115
#: library/asyncio-queue.rst:67
98
116
msgid ""
99
117
"Return an item if one is immediately available, else raise :exc:`QueueEmpty`."
100
118
msgstr ""
119
+ "Επιστρέφει ένα αντικείμενο, αν είναι άμεσα διαθέσιμο, αλλιώς κάνε raise την :"
120
+ "exc:`QueueEmpty`."
101
121
102
122
#: library/asyncio-queue.rst:72
103
123
msgid "Block until all items in the queue have been received and processed."
104
124
msgstr ""
125
+ "Αποκλείει μέχρι να ληφθούν και να υποβληθούν σε επεξεργασία όλα τα στοιχεία "
126
+ "στην ουρά."
105
127
106
128
#: library/asyncio-queue.rst:74
107
129
msgid ""
@@ -111,94 +133,124 @@ msgid ""
111
133
"complete. When the count of unfinished tasks drops to zero, :meth:`join` "
112
134
"unblocks."
113
135
msgstr ""
136
+ "Ο αριθμός των ημιτελών εργασιών αυξάνεται κάθε φορά που προστίθεται ένα "
137
+ "αντικείμενο στην ουρά. Ο αριθμός μειώνεται όταν μια καταναλωτική coroutine "
138
+ "καλεί τη μέθοδο :meth:`task_done` για να υποδείξει ότι το αντικείμενο "
139
+ "λήφθηκε και η εργασία πάνω του έχει ολοκληρωθεί. Όταν ο αριθμός των "
140
+ "ατελείωτων εργασιών μειωθεί στο μηδέν, η μέθοδος :meth:`join` αποδεσμεύεται."
114
141
115
142
#: library/asyncio-queue.rst:82
116
143
msgid ""
117
144
"Put an item into the queue. If the queue is full, wait until a free slot is "
118
145
"available before adding the item."
119
146
msgstr ""
147
+ "Τοποθετεί ένα αντικείμενο στην ουρά. Αν η ουρά είναι γεμάτη, περιμένετε "
148
+ "μέχρι να είναι διαθέσιμη μια ελεύθερη θέση, πριν προσθέσετε το αντικείμενο."
120
149
121
150
#: library/asyncio-queue.rst:87
122
151
msgid "Put an item into the queue without blocking."
123
- msgstr ""
152
+ msgstr "Τοποθετεί ένα αντικείμενο στην ουρά χωρίς να μπλοκάρει. "
124
153
125
154
#: library/asyncio-queue.rst:89
126
155
msgid "If no free slot is immediately available, raise :exc:`QueueFull`."
127
156
msgstr ""
157
+ "Αν δεν είναι διαθέσιμη μια ελεύθερη θέση αμέσως, γίνεται raise η :exc:"
158
+ "`QueueFull`."
128
159
129
160
#: library/asyncio-queue.rst:93
130
161
msgid "Return the number of items in the queue."
131
- msgstr ""
162
+ msgstr "Επιστρέφει τον αριθμό των αντικειμένων στην ουρά. "
132
163
133
164
#: library/asyncio-queue.rst:97
134
165
msgid "Indicate that a formerly enqueued task is complete."
135
166
msgstr ""
167
+ "Υποδεικνύει ότι μια εργασία που είχε προστεθεί στην ουρά έχει ολοκληρωθεί."
136
168
137
169
#: library/asyncio-queue.rst:99
138
170
msgid ""
139
171
"Used by queue consumers. For each :meth:`~Queue.get` used to fetch a task, a "
140
172
"subsequent call to :meth:`task_done` tells the queue that the processing on "
141
173
"the task is complete."
142
174
msgstr ""
175
+ "Χρησιμοποιείται από τους καταναλωτές της ουράς. Για κάθε κλήση της :meth:"
176
+ "`~Queue.get` για να ανακτηθεί μια εργασία, μια επακόλουθη κλήση της :meth:"
177
+ "`task_done` ενημερώνει την ουρά ότι η επεξεργασία της εργασίας έχει "
178
+ "ολοκληρωθεί."
143
179
144
180
#: library/asyncio-queue.rst:103
145
181
msgid ""
146
182
"If a :meth:`join` is currently blocking, it will resume when all items have "
147
183
"been processed (meaning that a :meth:`task_done` call was received for every "
148
184
"item that had been :meth:`~Queue.put` into the queue)."
149
185
msgstr ""
186
+ "Εάν μια κλήση της :meth:`join` μπλοκάρει αυτή την στιγμή, θα συνεχιστεί όταν "
187
+ "όλα τα αντικείμενα έχουν επεξεργαστεί (σημαίνει ότι λήφθηκε μια κλήση της :"
188
+ "meth:`task_done` για κάθε αντικείμενο που είχε προστεθεί με :meth:`~Queue."
189
+ "put` στην ουρά)."
150
190
151
191
#: library/asyncio-queue.rst:108
152
192
msgid ""
153
193
"Raises :exc:`ValueError` if called more times than there were items placed "
154
194
"in the queue."
155
195
msgstr ""
196
+ "Κάνει raise την :exc:`ValueError` εάν κληθεί περισσότερες φορές από όσες τα "
197
+ "αντικείμενα που είχαν τοποθετηθεί στην ουρά."
156
198
157
199
#: library/asyncio-queue.rst:113
158
200
msgid "Priority Queue"
159
- msgstr ""
201
+ msgstr "Σειρά Προτεραιότητας "
160
202
161
203
#: library/asyncio-queue.rst:117
162
204
msgid ""
163
205
"A variant of :class:`Queue`; retrieves entries in priority order (lowest "
164
206
"first)."
165
207
msgstr ""
208
+ "Μια παραλλαγή της :class:`Queue`; η οποία ανακτά τις καταχωρήσεις με σειρά "
209
+ "προτεραιότητας (οι χαμηλότερες πρώτες)."
166
210
167
211
#: library/asyncio-queue.rst:120
168
212
msgid "Entries are typically tuples of the form ``(priority_number, data)``."
169
- msgstr ""
213
+ msgstr "Οι καταχωρήσεις είναι συνήθως της μορφής ``(priority_number, data)``. "
170
214
171
215
#: library/asyncio-queue.rst:125
172
216
msgid "LIFO Queue"
173
- msgstr ""
217
+ msgstr "Ουρά LIFO "
174
218
175
219
#: library/asyncio-queue.rst:129
176
220
msgid ""
177
221
"A variant of :class:`Queue` that retrieves most recently added entries first "
178
222
"(last in, first out)."
179
223
msgstr ""
224
+ "Μια παραλλαγή της κλάσης :class:`Queue` που ανακτά τις πιο πρόσφατα "
225
+ "προστιθέμενες καταχωρίσεις πρώτες (με τη λογική τελευταίος μέσα, πρώτος έξω)."
180
226
181
227
#: library/asyncio-queue.rst:134
182
228
msgid "Exceptions"
183
- msgstr ""
229
+ msgstr "Εξαιρέσεις "
184
230
185
231
#: library/asyncio-queue.rst:138
186
232
msgid ""
187
233
"This exception is raised when the :meth:`~Queue.get_nowait` method is called "
188
234
"on an empty queue."
189
235
msgstr ""
236
+ "Αυτή η εξαίρεση γίνεται raise όταν η μέθοδος :meth:`~Queue.get_nowait` "
237
+ "καλείται σε μια άδεια ουρά."
190
238
191
239
#: library/asyncio-queue.rst:144
192
240
msgid ""
193
241
"Exception raised when the :meth:`~Queue.put_nowait` method is called on a "
194
242
"queue that has reached its *maxsize*."
195
243
msgstr ""
244
+ "Εξαίρεση που γίνεται raise όταν η μέθοδος :meth:`~Queue.put_nowait` καλείται "
245
+ "σε μια ουρά που έχει φτάσει στο *maxsize* της."
196
246
197
247
#: library/asyncio-queue.rst:149
198
248
msgid "Examples"
199
- msgstr ""
249
+ msgstr "Παραδείγματα "
200
250
201
251
#: library/asyncio-queue.rst:153
202
252
msgid ""
203
253
"Queues can be used to distribute workload between several concurrent tasks::"
204
254
msgstr ""
255
+ "Οι ουρές μπορούν να χρησιμοποιηθούν για τη διανομή εργασίας μεταξύ αρκετών "
256
+ "παράλληλων εργασιών::"
0 commit comments