<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Chainguard Libraries for Python on</title><link>https://deploy-preview-3419--ornate-narwhal-088216.netlify.app/chainguard/libraries/python/</link><description>Recent content in Chainguard Libraries for Python on</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>Copyright (c) 2023 Chainguard</copyright><lastBuildDate>Wed, 09 Apr 2025 08:04:00 +0000</lastBuildDate><atom:link href="https://deploy-preview-3419--ornate-narwhal-088216.netlify.app/chainguard/libraries/python/index.xml" rel="self" type="application/rss+xml"/><item><title>Chainguard Libraries for Python overview</title><link>https://deploy-preview-3419--ornate-narwhal-088216.netlify.app/chainguard/libraries/python/overview/</link><pubDate>Wed, 09 Apr 2025 04:00:00 +0000</pubDate><guid>https://deploy-preview-3419--ornate-narwhal-088216.netlify.app/chainguard/libraries/python/overview/</guid><description>&lt;h2 id="introduction" class="heading-2" data-heading-level="2"&gt;
&lt;span class="heading-text"&gt;Introduction&lt;/span&gt;
&lt;a href="#introduction" class="anchor" aria-label="Link to Introduction" title="Link to this section"&gt;
&lt;svg width="16" height="9" viewBox="0 0 16 9" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"&gt;
&lt;path d="M6.833 8.125H4C3 8.125 2.146 7.77067 1.438 7.062C0.729333 6.354 0.375 5.5 0.375 4.5C0.375 3.5 0.729333 2.646 1.438 1.938C2.146 1.22933 3 0.875 4 0.875H6.833V1.958H4C3.30533 1.958 2.708 2.208 2.208 2.708C1.708 3.208 1.458 3.80533 1.458 4.5C1.458 5.19467 1.708 5.792 2.208 6.292C2.708 6.792 3.30533 7.042 4 7.042H6.833V8.125ZM5.208 5.042V3.958H10.792V5.042H5.208ZM9.167 8.125V7.042H12C12.6947 7.042 13.292 6.792 13.792 6.292C14.292 5.792 14.542 5.19467 14.542 4.5C14.542 3.80533 14.292 3.208 13.792 2.708C13.292 2.208 12.6947 1.958 12 1.958H9.167V0.875H12C13 0.875 13.854 1.22933 14.562 1.938C15.2707 2.646 15.625 3.5 15.625 4.5C15.625 5.5 15.2707 6.354 14.562 7.062C13.854 7.77067 13 8.125 12 8.125H9.167Z" fill="currentColor"/&gt;
&lt;/svg&gt;
&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;Chainguard Libraries for Python provides enhanced security for the vast Python
ecosystem by rebuilding PyPI packages with comprehensive supply chain protection
and automated patching. With over 600,000 packages on the &lt;a href="https://pypi.org/"&gt;Python Package Index
(PyPI)&lt;/a&gt; serving application development, machine learning,
and data science needs, Chainguard addresses the critical security challenges of
depending on packages from untrusted sources by rebuilding them within the
controlled Chainguard Factory environment. In addition, Chainguard eliminates
security risk by remediating High and Critical vulnerabilities across older
package versions where upstream maintainers are not able to prioritize fixes.&lt;/p&gt;</description></item><item><title>Global configuration</title><link>https://deploy-preview-3419--ornate-narwhal-088216.netlify.app/chainguard/libraries/python/global-configuration/</link><pubDate>Tue, 25 Mar 2025 08:04:00 +0000</pubDate><guid>https://deploy-preview-3419--ornate-narwhal-088216.netlify.app/chainguard/libraries/python/global-configuration/</guid><description>&lt;p&gt;Python library consumption in a large organization is typically managed by a
repository manager. Commonly used repository manager applications are
&lt;a href="https://cloudsmith.com/"&gt;Cloudsmith&lt;/a&gt;, &lt;a href="https://jfrog.com/artifactory/"&gt;JFrog
Artifactory&lt;/a&gt;, and &lt;a href="https://www.sonatype.com/products/sonatype-nexus-repository"&gt;Sonatype Nexus
Repository&lt;/a&gt;. The
repository manager acts as a single point of access for developers and
development tools to retrieve the required libraries.&lt;/p&gt;
&lt;p&gt;The recommended approach is to use the &lt;a href="https://deploy-preview-3419--ornate-narwhal-088216.netlify.app/chainguard/libraries/overview/#upstream-fallback-and-controls"&gt;upstream
fallback&lt;/a&gt;
feature of Chainguard Repository, which allows you to configure your repository
manager with a single upstream pointed at &lt;code&gt;https://libraries.cgr.dev/python/&lt;/code&gt;. The
Chainguard Repository handles fallback and policy enforcement; your repository
manager handles local caching and access control. Chainguard also retrieves
packages from the public PyPI repository on your behalf when upstream
fallback is enabled. This includes protections such as malware detection and a
cooldown period for newly published packages.&lt;/p&gt;</description></item><item><title>Build configuration</title><link>https://deploy-preview-3419--ornate-narwhal-088216.netlify.app/chainguard/libraries/python/build-configuration/</link><pubDate>Tue, 25 Mar 2025 08:04:00 +0000</pubDate><guid>https://deploy-preview-3419--ornate-narwhal-088216.netlify.app/chainguard/libraries/python/build-configuration/</guid><description>&lt;p&gt;The configuration for the use of Chainguard Libraries depends on how you&amp;rsquo;ve set up your build tools and CI/CD workflows. At a high level, adopting the use of Chainguard Libraries in your development, build, and deployment workflows involves the following steps:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If you or an administrator have not done so already, &lt;a href="https://deploy-preview-3419--ornate-narwhal-088216.netlify.app/chainguard/libraries/python/global-configuration/"&gt;set up your organization&amp;rsquo;s repository manager to use Chainguard Libraries for Python&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Log into your organization&amp;rsquo;s repository manager and retrieve credentials for the build tool you are configuring.&lt;/li&gt;
&lt;li&gt;Configure your development or build tool with this information.&lt;/li&gt;
&lt;li&gt;Remove local caches on workstations and CI/CD pipelines. This step ensures that dependencies are preferentially sourced from Chainguard Libraries.&lt;/li&gt;
&lt;li&gt;Finally, confirm that your development tools and CI/CD workflows are correctly ingesting dependencies from Chainguard Libraries.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These changes must be performed on all workstations of individual developers and
other engineers running relevant application builds. They must also be performed
on any build tool such as Jenkins, TeamCity, GitHub Actions, or other
infrastructure that draws in dependencies.&lt;/p&gt;</description></item><item><title>Management and maintenance</title><link>https://deploy-preview-3419--ornate-narwhal-088216.netlify.app/chainguard/libraries/python/management/</link><pubDate>Tue, 25 Mar 2025 08:04:00 +0000</pubDate><guid>https://deploy-preview-3419--ornate-narwhal-088216.netlify.app/chainguard/libraries/python/management/</guid><description>&lt;p&gt;Chainguard Libraries for Python operates transparently after completing the &lt;a href="https://deploy-preview-3419--ornate-narwhal-088216.netlify.app/chainguard/libraries/python/global-configuration/"&gt;global configuration&lt;/a&gt; and &lt;a href="https://deploy-preview-3419--ornate-narwhal-088216.netlify.app/chainguard/libraries/python/build-configuration/"&gt;build configuration&lt;/a&gt;, automatically providing security-enhanced versions of your PyPI dependencies. New packages and versions are retrieved from Chainguard&amp;rsquo;s hardened repository when available, while PyPI and other configured repositories provide fallback access to ensure continuous development workflow without interruption.&lt;/p&gt;
&lt;p&gt;The following sections detail optional management, maintenance, and auditing
steps on the repository manager and the build tool.&lt;/p&gt;
&lt;h2 id="source-verification" class="heading-2" data-heading-level="2"&gt;
&lt;span class="heading-text"&gt;Source verification&lt;/span&gt;
&lt;a href="#source-verification" class="anchor" aria-label="Link to Source verification" title="Link to this section"&gt;
&lt;svg width="16" height="9" viewBox="0 0 16 9" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"&gt;
&lt;path d="M6.833 8.125H4C3 8.125 2.146 7.77067 1.438 7.062C0.729333 6.354 0.375 5.5 0.375 4.5C0.375 3.5 0.729333 2.646 1.438 1.938C2.146 1.22933 3 0.875 4 0.875H6.833V1.958H4C3.30533 1.958 2.708 2.208 2.208 2.708C1.708 3.208 1.458 3.80533 1.458 4.5C1.458 5.19467 1.708 5.792 2.208 6.292C2.708 6.792 3.30533 7.042 4 7.042H6.833V8.125ZM5.208 5.042V3.958H10.792V5.042H5.208ZM9.167 8.125V7.042H12C12.6947 7.042 13.292 6.792 13.792 6.292C14.292 5.792 14.542 5.19467 14.542 4.5C14.542 3.80533 14.292 3.208 13.792 2.708C13.292 2.208 12.6947 1.958 12 1.958H9.167V0.875H12C13 0.875 13.854 1.22933 14.562 1.938C15.2707 2.646 15.625 3.5 15.625 4.5C15.625 5.5 15.2707 6.354 14.562 7.062C13.854 7.77067 13 8.125 12 8.125H9.167Z" fill="currentColor"/&gt;
&lt;/svg&gt;
&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;You can verify what artifacts are retrieved from the Chainguard Libraries
repository on a global level:&lt;/p&gt;</description></item></channel></rss>