"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"Using Python on macOS"
msgstr"استفاده از پایتون در macOS"
msgid"This document aims to give an overview of macOS-specific behavior you should know about to get started with Python on Mac computers. Python on a Mac running macOS is very similar to Python on other Unix-derived platforms, but there are some differences in installation and some features."
msgstr"هدف این سند، ارائهی مروری کلی بر رفتارهای اختصاصی macOS است که برای شروع کار با پایتون روی رایانههای مک باید از آنها آگاه باشید. پایتون روی مکی که macOS را اجرا میکند، بسیار شبیه به پایتون روی سایر پلتفرمهای برگرفته از یونیکس است، اما تفاوتهایی در نصب و برخی ویژگیها وجود دارد."
msgid"There are various ways to obtain and install Python for macOS. Pre-built versions of the most recent versions of Python are available from a number of distributors. Much of this document describes use of the Pythons provided by the CPython release team for download from the `python.org website <https://www.python.org/downloads/>`_. See :ref:`alternative_bundles` for some other options."
msgstr"روشهای مختلفی برای دریافت و نصب پایتون در macOS وجود دارد. نسخههای از پیش ساختهشدهی جدیدترین نسخههای پایتون از تعدادی توزیعکننده در دسترس هستند. بخش عمدهی این سند به استفاده از پایتونهایی میپردازد که تیم انتشار سیپایتون آنها را برای دانلود از `وبسایت python.org <https://www.python.org/downloads/>`_ ارائه کرده است. برای برخی گزینههای دیگر، :ref:`alternative_bundles` را ببینید."
msgid"Using Python for macOS from ``python.org``"
msgstr"استفاده از پایتون برای مکاواس از ``python.org``"
msgid"Installation steps"
msgstr"مراحل نصب"
msgid"For `current Python versions <https://www.python.org/downloads/>`_ (other than those in ``security`` status), the release team produces a **Python for macOS** installer package for each new release. A list of available installers is provided on the `macOS downloads page <https://www.python.org/downloads/macos/>`__. We recommend using the most recent supported Python version where possible. Current installers provide a `universal2 binary <https://en.wikipedia.org/wiki/Universal_binary>`_ build of Python which runs natively on all Macs (Apple Silicon and Intel) that are supported by a wide range of macOS versions, currently typically from at least **macOS 10.15 Catalina** on."
msgstr "برای `نسخه های فعلی پایتون <https://www.python.org/downloads/>`_ (به جز موارد دارای وضعیت ``security``)، تیم انتشار یک بسته ی نصبی **Python for macOS** برای هر نسخه ی جدید تولید می کند. فهرستی از نصب کننده های موجود در `صفحه ی دانلودهای macOS <https://www.python.org/downloads/macos/>`__ ارائه شده است. توصیه می کنیم در صورت امکان از جدیدترین نسخه ی پشتیبانی شده ی پایتون استفاده کنید. نصب کننده های فعلی یک ساخت `دوتایی universal2 <https://en.wikipedia.org/wiki/Universal_binary>`_ از پایتون را ارائه می دهند که به صورت بومی روی تمام مک ها (Apple Silicon و اینتل) که توسط طیف وسیعی از نسخه های macOS پشتیبانی می شوند، اجرا می شود؛ که در حال حاضر معمولاً از **macOS 10.15 Catalina** به بعد است."
msgid"The downloaded file is a standard macOS installer package file (``.pkg``). File integrity information (such as checksum, size, and Sigstore signature) for each file is included on the release download page. Installer packages and their contents are signed and notarized with ``Python Software Foundation`` Apple Developer ID certificates to meet `macOS Gatekeeper requirements <https://support.apple.com/en-us/102445>`_."
msgstr"پرونده ی دانلودشده یک پرونده ی بسته ی نصب کننده ی استاندارد macOS (``.pkg``) است. اطلاعات یکپارچگی پرونده (مانند جمعآزما، اندازه و امضای Sigstore) برای هر پرونده در صفحه ی دانلود نسخه گنجانده شده است. بسته های نصب کننده و محتویات آن ها با گواهی های شناسه ی توسعه دهنده ی اپل ``Python Software Foundation`` امضا و محضری (notarized) شده اند تا با `الزامات گیت کیپر macOS <https://support.apple.com/en-us/102445>`_ مطابقت داشته باشند."
msgid"For a default installation, double-click on the downloaded installer package file. This should launch the standard macOS Installer app and display the first of several installer steps."
msgstr"برای یک نصب پیش فرض، روی پرونده ی بسته ی نصب کننده ی دانلودشده دو بار کلیک کنید. این کار باید برنامه ی نصب کننده ی استاندارد macOS را اجرا کرده و اولین مرحله از چندین مرحله ی نصب را نمایش دهد."
msgid"Clicking on the **Continue** button brings up the **Read Me** for this installer. Besides other important information, the **Read Me** documents which Python version is going to be installed and on what versions of macOS it is supported. You may need to scroll through to read the whole file. By default, this **Read Me** will also be installed in |applications_python_version_literal| and available to read anytime."
msgstr"با کلیک روی دکمهی **Continue**، **Read Me** این نصبکننده نمایش داده میشود. **Read Me** در کنار سایر اطلاعات مهم، شرح میدهد که کدام نسخهی پایتون قرار است نصب شود و روی کدام نسخههای macOS پشتیبانی میشود. ممکن است برای خواندن کل پرونده، لازم باشد آن را اسکرول کنید. بهطور پیشفرض، این **Read Me** همچنین در |applications_python_version_literal| نصب خواهد شد و هر زمان که بخواهید قابل مطالعه خواهد بود."
msgid"Clicking on **Continue** proceeds to display the license for Python and for other included software. You will then need to **Agree** to the license terms before proceeding to the next step. This license file will also be installed and available to be read later."
msgstr"با کلیک روی **Continue**، مجوز پایتون و سایر نرمافزارهای همراه نمایش داده میشود. سپس پیش از ادامه به گام بعدی، باید برای موافقت با شرایط مجوز روی **Agree** کلیک کنید. این پرونده مجوز نیز نصب خواهد شد و بعداً برای مطالعه در دسترس خواهد بود."
msgid"After the license terms are accepted, the next step is the **Installation Type** display. For most uses, the standard set of installation operations is appropriate."
msgstr"پس از پذیرفته شدن شرایط مجوز، گام بعدی نمایش **Installation Type** است. برای بیشتر کاربردها، مجموعه استاندارد عملیاتهای نصب مناسب است."
msgid"By pressing the **Customize** button, you can choose to omit or select certain package components of the installer. Click on each package name to see a description of what it installs. For details of the optional free-threaded feature, which is installed by default, see :ref:`install-freethreaded-macos`."
msgstr"با فشردن دکمه ی **Customize**، می توانید اجزای خاصی از بسته ی نصب کننده را انتخاب کرده یا از نصب خارج کنید. روی نام هر بسته کلیک کنید تا توضیحات مربوط به آنچه نصب می کند را ببینید. برای جزئیات ویژگی اختیاری نخآزاد (free-threaded) که به صورت پیش فرض نصب می شود، به :ref:`install-freethreaded-macos` مراجعه کنید."
msgid"In either case, clicking **Install** will begin the install process by asking permission to install new software. A macOS user name with ``Administrator`` privilege is needed as the installed Python will be available to all users of the Mac."
msgstr"در هر دو حالت، کلیک روی **Install** فرایند نصب را با درخواست مجوز برای نصب نرمافزار جدید آغاز میکند. نام کاربری macOS با امتیاز ``Administrator`` لازم است، زیرا پایتون نصبشده برای همهی کاربران مک در دسترس خواهد بود."
msgid"When the installation is complete, the **Summary** window will appear."
msgstr"پس از اتمام نصب، پنجرهی **Summary** نمایش داده میشود."
msgid"Double-click on the :command:`Install Certificates.command` icon or file in the |applications_python_version_literal| window to complete the installation."
msgstr"برای تکمیل نصب، روی نماد یا پروندهی :command:`Install Certificates.command` در پنجرهی |applications_python_version_literal| دوبار کلیک کنید."
msgid"This will open a temporary :program:`Terminal` shell window that will use the new Python to download and install SSL root certificates for its use."
msgstr"این کار یک پنجرهی پوستهی موقت :program:`Terminal` باز میکند که با استفاده از پایتون جدید، گواهیهای ریشهی SSL را برای استفادهی خود دانلود و نصب میکند."
msgid"If ``Successfully installed certifi`` and ``update complete`` appear in the terminal window, the installation is complete. Close this terminal window and the installer window."
msgstr"اگر عبارات ``Successfully installed certifi`` و ``update complete`` در پنجره ی پایانه ظاهر شدند، نصب کامل شده است. این پنجره ی پایانه و پنجره ی نصب کننده را ببندید."
msgid"A default install will include:"
msgstr"نصب پیشفرض شامل موارد زیر خواهد بود:"
msgid"A |python_version_literal| folder in your :file:`Applications` folder. In here you find :program:`IDLE`, the development environment that is a standard part of official Python distributions; and :program:`Python Launcher`, which handles double-clicking Python scripts from the macOS `Finder <https://support.apple.com/en-us/HT201732>`_."
msgstr"پوشهی |python_version_literal| در پوشهی :file:`Applications` شما. در این پوشه :program:`IDLE` را مییابید؛ محیط توسعهای که بخش استانداردی از توزیعهای رسمی پایتون است؛ و :program:`Python Launcher` را که دابلکلیک کردن اسکریپتهای پایتون از `Finder <https://support.apple.com/en-us/HT201732>`_ مکاواس را مدیریت میکند."
msgid"A framework :file:`/Library/Frameworks/Python.framework`, which includes the Python executable and libraries. The installer adds this location to your shell path. To uninstall Python, you can remove these three things. Symlinks to the Python executable are placed in :file:`/usr/local/bin/`."
msgstr"یک چارچوب :file:`/Library/Frameworks/Python.framework` که شامل پرونده اجرایی پایتون و کتابخانهها است. نصبکننده این مکان را به مسیر پوستهی شما اضافه میکند. برای لغو نصب پایتون، میتوانید این سه مورد را حذف کنید. پیوندهای نمادین به پرونده اجرایی پایتون در :file:`/usr/local/bin/` قرار میگیرند."
msgid"Recent versions of macOS include a :command:`python3` command in :file:`/usr/bin/python3` that links to a usually older and incomplete version of Python provided by and for use by the Apple development tools, :program:`Xcode` or the :program:`Command Line Tools for Xcode`. You should never modify or attempt to delete this installation, as it is Apple-controlled and is used by Apple-provided or third-party software. If you choose to install a newer Python version from ``python.org``, you will have two different but functional Python installations on your computer that can co-exist. The default installer options should ensure that its :command:`python3` will be used instead of the system :command:`python3`."
msgstr "نسخههای اخیر macOS شامل فرمان :command:`python3` در :file:`/usr/bin/python3` هستند که به نسخهای معمولاً قدیمیتر و ناقص از پایتون پیوند دارد؛ نسخهای که توسط ابزارهای توسعه Apple، یعنی :program:`Xcode` یا :program:`Command Line Tools for Xcode`، فراهم شده و برای استفادهی آنهاست. هرگز نباید این نصب را تغییر دهید یا تلاش کنید آن را حذف کنید، زیرا این نصب تحت کنترل Apple است و نرمافزارهای ارائهشده توسط Apple یا نرمافزارهای شخص ثالث از آن استفاده میکنند. اگر تصمیم بگیرید نسخهی جدیدتری از پایتون را از ``python.org`` نصب کنید، دو نصب متفاوت اما کارآمد از پایتون روی رایانهی خود خواهید داشت که میتوانند در کنار هم وجود داشته باشند. گزینههای پیشفرض نصاب باید تضمین کنند که :command:`python3` آن بهجای :command:`python3` سیستم استفاده خواهد شد."
msgid"How to run a Python script"
msgstr"نحوه اجرای یک اسکریپت پایتون"
msgid"There are two ways to invoke the Python interpreter. If you are familiar with using a Unix shell in a terminal window, you can invoke |python_x_dot_y_literal| or ``python3`` optionally followed by one or more command line options (described in :ref:`using-on-general`). The Python tutorial also has a useful section on :ref:`using Python interactively from a shell <tut-interac>`."
msgstr"دو راه برای فراخوانی مفسر پایتون وجود دارد. اگر با استفاده از پوستهی یونیکس در پنجرهی پایانه آشنا هستید، میتوانید |python_x_dot_y_literal| یا ``python3`` را فراخوانی کنید که بهاختیار میتوانند با یک یا چند گزینهی خط فرمان همراه شوند (در :ref:`using-on-general` شرح داده شدهاند). آموزش پایتون نیز بخش مفیدی دربارهی :ref:`استفادهی تعاملی از پایتون در پوسته <tut-interac>` دارد."
msgid"You can also invoke the interpreter through an integrated development environment. :ref:`idle` is a basic editor and interpreter environment which is included with the standard distribution of Python. :program:`IDLE` includes a Help menu that allows you to access Python documentation. If you are completely new to Python, you can read the tutorial introduction in that document."
msgstr"همچنین میتوانید مفسر را از طریق یک محیط توسعه یکپارچه فراخوانی کنید. :ref:`idle` یک ویرایشگر و محیط مفسر پایه است که همراه با توزیع استاندارد پایتون ارائه میشود. :program:`IDLE` شامل منوی راهنما (Help) است که به شما امکان میدهد به مستندات پایتون دسترسی داشته باشید. اگر کاملاً تازهکار در پایتون هستید، میتوانید مقدمهی آموزشی را در آن سند بخوانید."
msgid"There are many other editors and IDEs available, see :ref:`editors` for more information."
msgstr"ویرایشگرها و IDEهای بسیاری دیگر در دسترس هستند؛ برای اطلاعات بیشتر به :ref:`editors` مراجعه کنید."
msgid"To run a Python script file from the terminal window, you can invoke the interpreter with the name of the script file:"
msgstr"برای اجرای یک پرونده اسکریپت پایتون از پنجره پایانه، میتوانید مفسر را با نام پرونده اسکریپت فراخوانی کنید:"
msgid"|python_x_dot_y_literal| ``myscript.py``"
msgstr"|python_x_dot_y_literal| ``myscript.py``"
msgid"To run your script from the Finder, you can either:"
msgstr"برای اجرای اسکریپت خودتان از Finder، میتوانید یکی از این دو کار را انجام دهید:"
msgid"Drag it to :program:`Python Launcher`."
msgstr"آن را به :program:`Python Launcher` بکشید."
msgid"Select :program:`Python Launcher` as the default application to open your script (or any ``.py`` script) through the Finder Info window and double-click it. :program:`Python Launcher` has various preferences to control how your script is launched. Option-dragging allows you to change these for one invocation, or use its ``Preferences`` menu to change things globally."
msgstr"از طریق پنجره اطلاعات Finder، :program:`Python Launcher` را بهعنوان برنامه پیشفرض برای باز کردن اسکریپت خود (یا هر اسکریپت ``.py``) انتخاب کنید و روی آن دوبار کلیک کنید. :program:`Python Launcher` تنظیمات گوناگونی برای کنترل نحوه راهاندازی اسکریپت شما دارد. کشیدن همراه با نگهداشتن کلید Option به شما امکان میدهد این تنظیمات را برای یک اجرا تغییر دهید، یا از منوی ``Preferences`` آن برای اعمال تغییرات بهصورت سراسری استفاده کنید."
msgid"Be aware that running the script directly from the macOS Finder might produce different results than when running from a terminal window as the script will not be run in the usual shell environment including any setting of environment variables in shell profiles. And, as with any other script or program, be certain of what you are about to run."
msgstr"آگاه باشید که اجرای مستقیم اسکریپت از Finder در macOS ممکن است نتایجی متفاوت نسبت به اجرای آن از طریق یک پنجره پایانه به دست دهد، زیرا اسکریپت در محیط معمول پوسته، از جمله هر تنظیمی از متغیرهای محیطی در پروفایلهای پوسته، اجرا نخواهد شد. و همانند هر اسکریپت یا برنامه دیگری، از چیزی که میخواهید اجرا کنید مطمئن باشید."
msgid"Alternative distributions"
msgstr"توزیع های جایگزین"
msgid"Besides the standard ``python.org`` for macOS installer, there are third-party distributions for macOS that may include additional functionality. Some popular distributions and their key features:"
msgstr"علاوه بر نصبکننده استاندارد ``python.org`` برای macOS، توزیعهای شخص ثالثی برای macOS وجود دارند که ممکن است قابلیتهای اضافی داشته باشند. برخی از توزیعهای محبوب و ویژگیهای کلیدی آنها:"
msgid"Popular scientific modules (such as numpy, scipy, and pandas) and the ``conda`` package manager."
msgstr"ماژولهای علمی محبوب (مانند numpy، scipy و pandas) و مدیر بسته ``conda``."
msgid"`Homebrew <https://brew.sh>`_"
msgstr"`Homebrew <https://brew.sh>`_"
msgid"Package manager for macOS including multiple versions of Python and many third-party Python-based packages (including numpy, scipy, and pandas)."
msgstr"مدیر بسته برای macOS که شامل نسخههای متعدد پایتون و بسیاری از بستههای شخص ثالث مبتنی بر پایتون (از جمله numpy، scipy و pandas) است."
msgid"`MacPorts <https://www.macports.org>`_"
msgstr"`MacPorts <https://www.macports.org>`_"
msgid"Another package manager for macOS including multiple versions of Python and many third-party Python-based packages. May include pre-built versions of Python and many packages for older versions of macOS."
msgstr"یک مدیر بستهی دیگر برای macOS که شامل چندین نسخه از پایتون و بسیاری از بستههای شخص ثالث مبتنی بر پایتون است. ممکن است شامل نسخههای پیشساختهی پایتون و بسیاری از بستهها برای نسخههای قدیمیتر macOS باشد."
msgid"Note that distributions might not include the latest versions of Python or other libraries, and are not maintained or supported by the core Python team."
msgstr"توجه داشته باشید که توزیعها ممکن است شامل جدیدترین نسخههای پایتون یا کتابخانههای دیگر نباشند و توسط تیم اصلی پایتون نگهداری یا پشتیبانی نمیشوند."
msgid"Installing additional Python packages"
msgstr"نصب بسته های اضافی پایتون"
msgid"Refer to the `Python Packaging User Guide`_ for more information."
msgstr"برای اطلاعات بیشتر به `Python Packaging User Guide`_ مراجعه کنید."
msgid"GUI programming"
msgstr"برنامه نویسی رابط گرافیکی کاربر"
msgid"There are several options for building GUI applications on the Mac with Python."
msgstr"چندین گزینه برای ساخت برنامههای رابط کاربری گرافیکی (GUI) روی مک با پایتون وجود دارد."
msgid"The standard Python GUI toolkit is :mod:`tkinter`, based on the cross-platform Tk toolkit (https://www.tcl.tk). A macOS-native version of Tk is included with the installer."
msgstr"جعبهابزار رابط گرافیکی کاربر استاندارد پایتون، :mod:`tkinter` است که بر پایهی جعبهابزار چندسکویی Tk (https://www.tcl.tk) ساخته شده است. نسخهی بومی Tk برای macOS همراه با نصبکننده ارائه میشود."
msgid"*PyObjC* is a Python binding to Apple's Objective-C/Cocoa framework. Information on PyObjC is available from :pypi:`pyobjc`."
msgstr"*PyObjC* یک مقیدسازی پایتون برای چارچوب Objective-C/Cocoa اپل است. اطلاعات دربارهی PyObjC از طریق :pypi:`pyobjc` در دسترس است."
msgid"A number of alternative macOS GUI toolkits are available including:"
msgstr"تعدادی از جعبهابزارهای رابط گرافیکی کاربر (GUI) جایگزین برای macOS در دسترس هستند، از جمله:"
msgid"`PySide <https://www.qt.io/qt-for-python>`_: Official Python bindings to the `Qt GUI toolkit <https://wiki.qt.io/Qt_for_Python>`_."
msgstr"`PySide <https://www.qt.io/qt-for-python>`_: پیوندهای رسمی پایتون به `جعبهابزار گرافیکی Qt <https://wiki.qt.io/Qt_for_Python>`_."
msgid"`PyQt <https://riverbankcomputing.com/software/pyqt/>`_: Alternative Python bindings to Qt."
msgstr"`PyQt <https://riverbankcomputing.com/software/pyqt/>`_: پیوندهای جایگزین پایتون برای Qt."
msgid"`Kivy <https://kivy.org>`_: A cross-platform GUI toolkit that supports desktop and mobile platforms."
msgstr"`Kivy <https://kivy.org>`_: یک مجموعه ابزار رابط کاربری گرافیکی چندسکویی که از پلتفرمهای دسکتاپ و موبایل پشتیبانی میکند."
msgid"`Toga <https://toga.readthedocs.io>`_: Part of the `BeeWare Project <https://beeware.org>`_; supports desktop, mobile, web and console apps."
msgstr"`Toga <https://toga.readthedocs.io>`_: بخشی از `پروژه BeeWare <https://beeware.org>`_ است؛ از برنامههای دسکتاپ، موبایل، وب و کنسول پشتیبانی میکند."
msgid"`wxPython <https://wxpython.org>`_: A cross-platform toolkit that supports desktop operating systems."
msgstr"`wxPython <https://wxpython.org>`_: مجموعه ابزار چندسکویی که از سیستمعاملهای دسکتاپ پشتیبانی میکند."
msgid"`Flet <https://flet.dev/>`_: A framework for building cross-platform desktop, mobile, and web applications in Python."
msgstr"`Flet <https://flet.dev/>`_: چارچوبی برای ساخت برنامههای چندسکویی دسکتاپ، موبایل و وب در پایتون."
msgid"Advanced topics"
msgstr"مباحث پیشرفته"
msgid"Installing free-threaded binaries"
msgstr"نصب نسخههای باینری نخآزاد"
msgid"Free-threading support is now installed by default."
msgstr"پشتیبانی از رشتهآزاد (free-threading) اکنون بهطور پیشفرض نصب میشود."
msgid"The ``python.org`` :ref:`Python for macOS <getting-and-installing-macpython>` installer package installs, by default, an additional build of Python |version| that supports :term:`free threading` (running with the :term:`global interpreter lock` disabled). Check the release page on ``python.org`` for possible updated information."
msgstr"بستهی نصبی :ref:`Python for macOS <getting-and-installing-macpython>` در سایت ``python.org`` بهطور پیشفرض، ساخت (build) اضافهای از پایتون |version| را نصب میکند که از :term:`نخبندی آزاد <free threading>` (اجرا با غیرفعال بودن :term:`قفل مفسر سراسری <global interpreter lock>`) پشتیبانی میکند. برای اطلاع از آخرین اطلاعات بهروزرسانیشده، صفحهی انتشار را در ``python.org`` بررسی کنید."
msgid"The free-threaded mode is working and continues to be improved, but there is some additional overhead in single-threaded workloads compared to the regular build. Additionally, third-party packages, in particular ones with an :term:`extension module`, may not be ready for use in a free-threaded build, and will re-enable the :term:`GIL`. As of Python 3.15, free-threading support is installed by default. It is packaged as a separate install option, which can be deselected by clicking the **Customize** button on the **Installation Type** step of the installer as described above."
msgstr "حالت نخآزاد کار میکند و همچنان در حال بهبود است، اما در بارهای کاری تکنخهای در مقایسه با ساخت معمولی، مقداری سربار اضافی وجود دارد. علاوه بر این، بستههای شخص ثالث، بهویژه آنهایی که دارای یک :term:`ماژول توسعهای <extension module>` هستند، ممکن است برای استفاده در یک ساخت نخآزاد آماده نباشند و :term:`GIL` را دوباره فعال کنند. از پایتون ۳.۱۵ به بعد، پشتیبانی از نخبندی آزاد بهطور پیشفرض نصب میشود. این قابلیت به شکل یک گزینهی نصبی مجزا بستهبندی شده است که میتوان آن را با کلیک کردن روی دکمهی **Customize** در مرحلهی **Installation Type** برنامهی نصب (همانطور که در بالا توضیح داده شد) لغو انتخاب کرد."
msgid"If the box next to the **Free-threaded Python** package name is checked (as it is by default), a separate :file:`PythonT.framework` will also be installed alongside the normal :file:`Python.framework` in :file:`/Library/Frameworks`. This configuration allows a free-threaded Python |version| build to co-exist on your system with a traditional (GIL only) Python |version| build with minimal risk while installing or testing. This installation layout may change in future releases."
msgstr"اگر کادر کنار نام بستهی **Free-threaded Python** علامت زده شده باشد (همانطور که بهطور پیشفرض است)، یک :file:`PythonT.framework` جداگانه نیز در کنار :file:`Python.framework` معمولی در :file:`/Library/Frameworks` نصب خواهد شد. این پیکربندی به یک ساخت پایتون |version| نخآزاد اجازه میدهد تا هنگام نصب یا آزمایش، با حداقل خطر در کنار یک ساخت سنتی پایتون |version| (فقط دارای GIL) روی سیستم شما همزیستی داشته باشد. این ساختار نصب ممکن است در نسخههای آینده تغییر کند."
msgid"Known cautions and limitations:"
msgstr"هشدارها و محدودیتهای شناختهشده:"
msgid"The **UNIX command-line tools** package, which is selected by default, will install links in :file:`/usr/local/bin` for |python_x_dot_y_t_literal|, the free-threaded interpreter, and |python_x_dot_y_t_literal_config|, a configuration utility which may be useful for package builders. Since :file:`/usr/local/bin` is typically included in your shell ``PATH``, in most cases no changes to your ``PATH`` environment variable should be needed to use |python_x_dot_y_t_literal|."
msgstr"بستهی **UNIX command-line tools** که بهطور پیشفرض انتخاب شده است، پیوندهایی را در :file:`/usr/local/bin` برای |python_x_dot_y_t_literal| (مفسر نخآزاد) و |python_x_dot_y_t_literal_config| (یک ابزار پیکربندی که ممکن است برای سازندگان بسته مفید باشد) نصب خواهد کرد. از آنجا که :file:`/usr/local/bin` معمولاً در ``PATH`` پوستهی شما گنجانده میشود، در بیشتر موارد نباید نیازی به ایجاد تغییر در متغیر محیطی ``PATH`` خود برای استفاده از |python_x_dot_y_t_literal| داشته باشید."
msgid"For this release, the **Shell profile updater** package and the :file:`Update Shell Profile.command` in |applications_python_version_literal| do not support the free-threaded package."
msgstr"برای این نسخه، بستهی **بهروزرسان پروفایل پوسته (Shell profile updater)** و :file:`Update Shell Profile.command` در |applications_python_version_literal| از بستهی نخآزاد پشتیبانی نمیکنند."
msgid"The free-threaded build and the traditional build have separate search paths and separate :file:`site-packages` directories so, by default, if you need a package available in both builds, it may need to be installed in both. The free-threaded package will install a separate instance of :program:`pip` for use with |python_x_dot_y_t_literal|."
msgstr"ساخت نخآزاد و ساخت سنتی مسیرهای جستوجوی جداگانه و پوشههای :file:`site-packages` جداگانه دارند؛ بنابراین، بهطور پیشفرض، اگر به بستهای نیاز دارید که در هر دو ساخت در دسترس باشد، ممکن است لازم باشد در هر دو نصب شود. بستهی نخآزاد یک نمونهی جداگانه از :program:`pip` را برای استفاده همراه با |python_x_dot_y_t_literal| نصب میکند."
msgid"To install a package using :command:`pip` without a :command:`venv`:"
msgstr"برای نصب یک بسته با استفاده از :command:`pip` بدون :command:`venv`:"
msgid"python\\ |version|\\ t -m pip install <package_name>"
msgstr"python\\ |version|\\ t -m pip install <package_name>"
msgid"When working with multiple Python environments, it is usually safest and easiest to :ref:`create and use virtual environments <tut-venv>`. This can avoid possible command name conflicts and confusion about which Python is in use:"
msgstr"هنگام کار با چندین محیط پایتون، معمولاً ایمنترین و سادهترین کار این است که :ref:`محیطهای مجازی ایجاد کنید و از آنها استفاده کنید <tut-venv>`. این کار میتواند از تداخلهای احتمالی در نام فرمانها و سردرگمی دربارهی اینکه کدام پایتون در حال استفاده است جلوگیری کند:"
msgid"python\\ |version|\\ t -m venv <venv_name>"
msgstr"python\\ |version|\\ t -m venv <venv_name>"
msgid"then :command:`activate`."
msgstr"سپس :command:`activate`."
msgid"To run a free-threaded version of IDLE:"
msgstr"برای اجرای نسخهی نخآزاد IDLE:"
msgid"python\\ |version|\\ t -m idlelib"
msgstr"python\\ |version|\\ t -m idlelib"
msgid"The interpreters in both builds respond to the same :ref:`PYTHON environment variables <using-on-envvars>` which may have unexpected results, for example, if you have ``PYTHONPATH`` set in a shell profile. If necessary, there are :ref:`command line options <using-on-interface-options>` like ``-E`` to ignore these environment variables."
msgstr"مفسرهای هر دو ساخت به همان :ref:`متغیرهای محیطی PYTHON <using-on-envvars>` پاسخ میدهند که ممکن است نتایج غیرمنتظرهای در پی داشته باشد، برای مثال، اگر ``PYTHONPATH`` را در یک پروفایل پوسته تنظیم کرده باشید. در صورت نیاز، :ref:`گزینههای خط فرمان <using-on-interface-options>` مانند ``-E`` برای نادیده گرفتن این متغیرهای محیطی وجود دارند."
msgid"The free-threaded build links to the third-party shared libraries, such as ``OpenSSL`` and ``Tk``, installed in the traditional framework. This means that both builds also share one set of trust certificates as installed by the :command:`Install Certificates.command` script, thus it only needs to be run once."
msgstr"ساخت نخآزاد به کتابخانههای اشتراکی شخص ثالث، مانند ``OpenSSL`` و ``Tk``، که در چارچوب سنتی نصب شدهاند پیوند میشود. این بدان معناست که هر دو ساخت همچنین یک مجموعه واحد از گواهیهای اعتمادی را که توسط اسکریپت :command:`Install Certificates.command` نصب شدهاند به اشتراک میگذارند؛ بنابراین تنها لازم است یک بار اجرا شود."
msgid"If you cannot depend on the link in ``/usr/local/bin`` pointing to the ``python.org`` free-threaded |python_x_dot_y_t_literal| (for example, if you want to install your own version there or some other distribution does), you can explicitly set your shell ``PATH`` environment variable to include the ``PythonT`` framework ``bin`` directory:"
msgstr"اگر نمیتوانید مطمئن باشید که پیوند موجود در ``/usr/local/bin`` به |python_x_dot_y_t_literal| نخآزاد ``python.org`` اشاره میکند (برای مثال، اگر بخواهید نسخهی خودتان را در آنجا نصب کنید یا توزیع دیگری این کار را انجام داده باشد)، میتوانید بهطور صریح متغیر محیطی ``PATH`` پوستهی خود را طوری تنظیم کنید که پوشهی ``bin`` چارچوب ``PythonT`` را در بر بگیرد:"
msgid"The traditional framework installation by default does something similar, except for :file:`Python.framework`. Be aware that having both framework ``bin`` directories in ``PATH`` can lead to confusion if there are duplicate names like |python_x_dot_y_literal| in both; which one is actually used depends on the order they appear in ``PATH``. The ``which python3.x`` or ``which python3.xt`` commands can show which path is being used. Using virtual environments can help avoid such ambiguities. Another option might be to create a shell :command:`alias` to the desired interpreter, like:"
msgstr"نصب چارچوب به روش سنتی بهطور پیشفرض کاری مشابه انجام میدهد، بهجز :file:`Python.framework`. آگاه باشید که اگر نامهای تکراری مانند |python_x_dot_y_literal| در هر دو وجود داشته باشند، داشتن هر دو پوشهی ``bin`` چارچوب در ``PATH`` میتواند باعث سردرگمی شود؛ اینکه کدامیک در واقع استفاده میشود، به ترتیبی که در ``PATH`` ظاهر میشوند بستگی دارد. دستورهای ``which python3.x`` یا ``which python3.xt`` میتوانند نشان دهند که کدام مسیر در حال استفاده است. استفاده از محیطهای مجازی میتواند به پرهیز از چنین ابهامهایی کمک کند. گزینهی دیگر ممکن است ایجاد یک :command:`alias` در پوسته برای مفسر دلخواه باشد، مانند:"
msgid"If you want to use automation to install the ``python.org`` installer package (rather than by using the familiar macOS :program:`Installer` GUI app), the macOS command line :command:`installer` utility lets you select non-default options, too. If you are not familiar with :command:`installer`, it can be somewhat cryptic (see :command:`man installer` for more information). As an example, the following shell snippet shows one way to do it, using the |x_dot_y_b2_literal| release and deselecting the free-threaded interpreter option:"
msgstr"اگر میخواهید برای نصب بستهی نصبی ``python.org`` از خودکارسازی استفاده کنید (بهجای استفاده از برنامهی گرافیکی آشنای macOS :program:`Installer`)، ابزار خط فرمان macOS یعنی :command:`installer` به شما اجازه میدهد گزینههای غیرپیشفرض را نیز انتخاب کنید. اگر با :command:`installer` آشنا نیستید، ممکن است تا حدی مبهم باشد (برای اطلاعات بیشتر به :command:`man installer` مراجعه کنید). به عنوان یک نمونه، قطعهکد پوستهی زیر یکی از راههای انجام این کار را نشان میدهد که در آن از انتشار |x_dot_y_b2_literal| استفاده شده و گزینهی مفسر نخآزاد لغو انتخاب شده است:"
msgid"Current ``python.org`` installers only install to fixed locations like :file:`/Library/Frameworks/`, :file:`/Applications`, and :file:`/usr/local/bin`. You cannot use the :command:`installer` ``-domain`` option to install to other locations."
msgstr"نصبکنندههای فعلی ``python.org`` فقط در مکانهای ثابتی مانند :file:`/Library/Frameworks/`، :file:`/Applications` و :file:`/usr/local/bin` نصب میکنند. شما نمیتوانید از گزینه ``-domain`` دستور :command:`installer` برای نصب در مکانهای دیگر استفاده کنید."
msgid"Distributing Python applications"
msgstr"توزیع برنامههای پایتون"
msgid"A range of tools exist for converting your Python code into a standalone distributable application:"
msgstr"طیفی از ابزارها برای تبدیل کد پایتون شما به یک برنامهی مستقل و قابل توزیع وجود دارد:"
msgid":pypi:`py2app`: Supports creating macOS ``.app`` bundles from a Python project."
msgstr":pypi:`py2app`: ساخت بستههای ``.app`` macOS از یک پروژهی پایتون را پشتیبانی میکند."
msgid"`Briefcase <https://briefcase.readthedocs.io>`_: Part of the `BeeWare Project <https://beeware.org>`_; a cross-platform packaging tool that supports creation of ``.app`` bundles on macOS, as well as managing signing and notarization."
msgstr"`Briefcase <https://briefcase.readthedocs.io>`_: بخشی از پروژه `BeeWare <https://beeware.org>`_؛ ابزار بستهبندی چندسکویی که از ایجاد بستههای ``.app`` در macOS و همچنین مدیریت امضا و تأیید رسمی (notarization) پشتیبانی میکند."
msgid"`PyInstaller <https://pyinstaller.org/>`_: A cross-platform packaging tool that creates a single file or folder as a distributable artifact."
msgstr"`PyInstaller <https://pyinstaller.org/>`_: ابزار بستهبندی چندسکویی که یک پرونده یا پوشهی واحد را بهعنوان یک مصنوع توزیعپذیر (distributable artifact) ایجاد میکند."
msgid"App Store compliance"
msgstr"سازگاری با اپ استور"
msgid"Apps submitted for distribution through the macOS App Store must pass Apple's app review process. This process includes a set of automated validation rules that inspect the submitted application bundle for problematic code."
msgstr"اپلیکیشنهایی که برای توزیع از طریق macOS App Store ارسال میشوند، باید فرایند بررسی اپلیکیشن اپل را با موفقیت پشت سر بگذارند. این فرایند شامل مجموعهای از قواعد اعتبارسنجی خودکار است که بسته اپلیکیشن ارسالی را از نظر وجود کد مشکلدار بررسی میکنند."
msgid"The Python standard library contains some code that is known to violate these automated rules. While these violations appear to be false positives, Apple's review rules cannot be challenged. Therefore, it is necessary to modify the Python standard library for an app to pass App Store review."
msgstr"کتابخانه استاندارد پایتون شامل کدهایی است که میدانیم این قوانین خودکار را نقض میکنند. اگرچه این نقضها ظاهراً مثبت کاذب هستند، نمیتوان قوانین بررسی اپل را به چالش کشید. بنابراین، برای اینکه یک برنامه از بررسی App Store عبور کند، لازم است که کتابخانه استاندارد پایتون تغییر داده شود."
msgid"The Python source tree contains :source:`a patch file <Mac/Resources/app-store-compliance.patch>` that will remove all code that is known to cause issues with the App Store review process. This patch is applied automatically when CPython is configured with the :option:`--with-app-store-compliance` option."
msgstr"درخت منبع پایتون شامل :source:`یک پرونده وصله <Mac/Resources/app-store-compliance.patch>` است که تمام کدهایی که مشخص است در فرایند بررسی App Store مشکل ایجاد میکنند را حذف خواهد کرد. این وصله بهطور خودکار زمانی اعمال میشود که سیپایتون با گزینهی :option:`--with-app-store-compliance` پیکربندی شود."
msgid"This patch is not normally required to use CPython on a Mac; nor is it required if you are distributing an app *outside* the macOS App Store. It is *only* required if you are using the macOS App Store as a distribution channel."
msgstr"این وصل معمولاً برای استفاده از سیپایتون روی مک لازم نیست؛ و اگر برنامهای را *خارج از* macOS App Store توزیع میکنید نیز لازم نیست. این وصل *تنها* زمانی لازم است که از macOS App Store بهعنوان کانال توزیع استفاده کنید."
msgid"Other resources"
msgstr"منابع دیگر"
msgid"The `python.org Help page <https://www.python.org/about/help/>`_ has links to many useful resources. The `Pythonmac-SIG mailing list <https://www.python.org/community/sigs/current/pythonmac-sig/>`_ is another support resource specifically for Python users and developers on the Mac."
msgstr"`صفحهی راهنمای python.org <https://www.python.org/about/help/>`_ پیوندهایی به بسیاری از منابع مفید دارد. `فهرست پستی Pythonmac-SIG <https://www.python.org/community/sigs/current/pythonmac-sig/>`_ منبع پشتیبانی دیگری است که بهطور خاص برای کاربران پایتون و توسعهدهندگان روی مک در نظر گرفته شده است."