Repository navigation
Expand file tree
/
Copy pathasyncio.po
More file actions
162 lines (126 loc) · 8.44 KB
/
Copy pathasyncio.po
File metadata and controls
162 lines (126 loc) · 8.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
# Revisto <theRevisto@gmail.com>, 2025
# Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-09-16 12:56+0000\n"
"PO-Revision-Date: 2026-08-28 10:39+0330\n"
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
"Language: fa\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Poedit 3.6\n"
msgid "High-level APIs"
msgstr "APIهای سطح بالا"
msgid "Introspection APIs"
msgstr "APIهای دروننگری"
msgid "Low-level APIs"
msgstr "APIهای سطح پایین"
msgid "Guides and Tutorials"
msgstr "راهنماها و خودآموزها"
msgid ":mod:`!asyncio` --- Asynchronous I/O"
msgstr ":mod:`!asyncio` --- ورودی/خروجی ناهمگام"
msgid "Hello World!"
msgstr "سلام دنیا!"
msgid ""
"import asyncio\n"
"\n"
"async def main():\n"
" print('Hello ...')\n"
" await asyncio.sleep(1)\n"
" print('... World!')\n"
"\n"
"asyncio.run(main())"
msgstr ""
"import asyncio\n"
"\n"
"async def main():\n"
" print('Hello ...')\n"
" await asyncio.sleep(1)\n"
" print('... World!')\n"
"\n"
"asyncio.run(main())"
msgid "asyncio is a library to write **concurrent** code using the **async/await** syntax."
msgstr "asyncio کتابخانهای است برای نوشتن کد **همروند** با استفاده از سینتکس **async/await**."
msgid "asyncio is used as a foundation for multiple Python asynchronous frameworks that provide high-performance network and web-servers, database connection libraries, distributed task queues, etc."
msgstr "asyncio بهعنوان پایهای برای چندین چارچوب ناهمگام پایتون استفاده میشود که سرورهای شبکه و وب با کارایی بالا، کتابخانههای اتصال به پایگاه داده، صفهای وظیفه توزیعشده و غیره را فراهم میکنند."
msgid "asyncio is often a perfect fit for IO-bound and high-level **structured** network code."
msgstr "asyncio اغلب برای کد شبکهای سطحبالا و **ساختاریافته** و محدود به ورودی/خروجی (IO-bound) کاملاً مناسب است."
msgid ":ref:`a-conceptual-overview-of-asyncio`"
msgstr ":ref:`a-conceptual-overview-of-asyncio`"
msgid "Explanation of the fundamentals of asyncio."
msgstr "توضیح مبانی asyncio."
msgid "asyncio provides a set of **high-level** APIs to:"
msgstr "asyncio مجموعهای از APIهای **سطح بالا** را برای موارد زیر فراهم میکند:"
msgid ":ref:`run Python coroutines <coroutine>` concurrently and have full control over their execution;"
msgstr ":ref:`اجرای همروالهای پایتون <coroutine>` بهصورت همزمان و داشتن کنترل کامل بر اجرای آنها؛"
msgid "perform :ref:`network IO and IPC <asyncio-streams>`;"
msgstr "انجام :ref:`ورودی/خروجی شبکه و ارتباط بینفرایندی (IPC) <asyncio-streams>`؛"
msgid "control :ref:`subprocesses <asyncio-subprocess>`;"
msgstr "کنترل :ref:`زیرفرایندها <asyncio-subprocess>`؛"
msgid "distribute tasks via :ref:`queues <asyncio-queues>`;"
msgstr "توزیع وظایف از طریق :ref:`صفها <asyncio-queues>`؛"
msgid ":ref:`synchronize <asyncio-sync>` concurrent code;"
msgstr ":ref:`همگامسازی <asyncio-sync>` کد همروند؛"
msgid "For **introspection**, asyncio provides APIs and tools for:"
msgstr "برای **دروننگری**، asyncio APIها و ابزارهایی برای:"
msgid "inspecting the :ref:`async call graph <asyncio-graph>` of tasks and futures;"
msgstr "بازرسی :ref:`گراف فراخوانی ناهمگام <asyncio-graph>` وظایف و آیندهنماها؛"
msgid "inspecting tasks in another running Python process with :ref:`command-line tools <asyncio-introspection-tools>`;"
msgstr "بازرسی وظایف در فرایند پایتون دیگری که در حال اجرا است با :ref:`ابزارهای خط فرمان <asyncio-introspection-tools>`؛"
msgid "Additionally, there are **low-level** APIs for *library and framework developers* to:"
msgstr "علاوه بر این، APIهای **سطح پایین** برای *توسعهدهندگان کتابخانه و چارچوب* وجود دارد تا:"
msgid "create and manage :ref:`event loops <asyncio-event-loop>`, which provide asynchronous APIs for :ref:`networking <loop_create_server>`, running :ref:`subprocesses <loop_subprocess_exec>`, handling :ref:`OS signals <loop_add_signal_handler>`, etc;"
msgstr "ایجاد و مدیریت :ref:`حلقههای رویداد <asyncio-event-loop>`، که APIهای ناهمگامی برای :ref:`شبکهسازی <loop_create_server>`، اجرای :ref:`زیرفرایندها <loop_subprocess_exec>`، مدیریت :ref:`سیگنالهای سیستمعامل <loop_add_signal_handler>` و غیره فراهم میکنند؛"
msgid "implement efficient protocols using :ref:`transports <asyncio-transports-protocols>`;"
msgstr "پیادهسازی پروتکلهای کارآمد با استفاده از :ref:`transports <asyncio-transports-protocols>`؛"
msgid ":ref:`bridge <asyncio-futures>` callback-based libraries and code with async/await syntax."
msgstr ":ref:`پل <asyncio-futures>` بین کتابخانههای مبتنی بر کالبک و کد با سینتکس async/await."
msgid "Availability"
msgstr "دسترسپذیری"
msgid "This module does not work or is not available on WebAssembly. See :ref:`wasm-availability` for more information."
msgstr "این ماژول روی WebAssembly کار نمیکند یا در دسترس نیست. برای اطلاعات بیشتر :ref:`wasm-availability` را ببینید."
msgid "asyncio REPL"
msgstr "asyncio REPL"
msgid "You can experiment with an ``asyncio`` concurrent context in the :term:`REPL`:"
msgstr "میتوانید یک زمینه همروند ``asyncio`` را در :term:`REPL` آزمایش کنید:"
msgid ""
"$ python -m asyncio\n"
"asyncio REPL ...\n"
"Use \"await\" directly instead of \"asyncio.run()\".\n"
"Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n"
">>> import asyncio\n"
">>> await asyncio.sleep(10, result='hello')\n"
"'hello'"
msgstr ""
"$ python -m asyncio\n"
"asyncio REPL ...\n"
"Use \"await\" directly instead of \"asyncio.run()\".\n"
"Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n"
">>> import asyncio\n"
">>> await asyncio.sleep(10, result='hello')\n"
"'hello'"
msgid "This REPL provides limited compatibility with :envvar:`PYTHON_BASIC_REPL`. It is recommended that the default REPL is used for full functionality and the latest features."
msgstr "این پوسته تعاملی (REPL) سازگاری محدودی با :envvar:`PYTHON_BASIC_REPL` دارد. توصیه میشود که برای عملکرد کامل و جدیدترین قابلیتها از پوسته تعاملی پیشفرض (REPL) استفاده شود."
msgid "Raises an :ref:`auditing event <auditing>` ``cpython.run_stdin`` with no arguments."
msgstr "یک :ref:`رویداد حسابرسی <auditing>` ``cpython.run_stdin`` را بدون آرگومان پرتاب میکند."
msgid "(also 3.11.10, 3.10.15, 3.9.20, and 3.8.20) Emits audit events."
msgstr "(همچنین 3.11.10، 3.10.15، 3.9.20 و 3.8.20) رویدادهای حسابرسی را منتشر میکند."
msgid "Uses PyREPL if possible, in which case :envvar:`PYTHONSTARTUP` is also executed. Emits audit events."
msgstr "در صورت امکان از PyREPL استفاده میکند، که در این صورت :envvar:`PYTHONSTARTUP` نیز اجرا میشود. رویدادهای حسابرسی (audit events) را منتشر میکند."
msgid "Reference"
msgstr "مرجع"
msgid "The source code for asyncio can be found in :source:`Lib/asyncio/`."
msgstr "کد منبع asyncio را میتوانید در :source:`Lib/asyncio/` پیدا کنید."