Python Package Index (PyPI) Terms of Service
Thank you for using PyPI! Please read this Terms of Service agreement carefully before accessing or using PyPI. Because it is such an important contract between us and our users, we have tried to make it as clear as possible. For your convenience, we have presented these terms in a short non-binding summary followed by the full legal terms.
Summary
Section | What can you find there? |
---|---|
Definitions | Some basic terms, defined in a way that will help you understand this agreement. Refer back up to this section for clarification. |
Account Terms | These are the basic requirements of having an Account on PyPI. |
Acceptable Use | These are the basic rules you must follow when using your PyPI Account. |
User-Generated Content | You own the content you post on PyPI. However, you have some responsibilities regarding it, and we ask you to grant us some rights so we can provide services to you. |
Private Servers | PyPI-compatible servers operated by third parties are not the responsibility of PSF and may be subject to other terms. |
Copyright Policy | This section talks about how PSF will respond if you believe someone is infringing your copyrights on PyPI. |
Intellectual Property Notice | This describes PSF's rights in the PyPI website and service. |
API Terms | These are the rules for using PyPI's APIs, whether you are using the API for development or data collection. |
Paid Services | If you use paid features of PyPI, you are responsible for payment. We are responsible for billing you accurately. |
Cancellation and Termination | You may cancel this agreement and close your Account at any time. |
Communications with PSF | We only use email and other electronic means to stay in touch with our users. We do not provide phone support. |
Disclaimer of Warranties | We provide our service as is, and we make no promises or guarantees about this service. Please read this section carefully; you should understand what to expect. |
Limitation of Liability | We will not be liable for damages or losses arising from your use or inability to use the service or otherwise arising under this agreement. Please read this section carefully; it limits our obligations to you. |
Release and Indemnification | You are fully responsible for your use of the service. |
Changes to these Terms of Service | We may modify this agreement, but we will give you 30 days' notice of material changes. |
Miscellaneous | Please see this section for legal details including our choice of law. |
The PyPI Terms of Service
Effective date: February 25, 2025
Definitions
Short version: We use these basic terms throughout the agreement, and they have specific meanings. You should know what we mean when we use each of the terms. There's not going to be a test on it, but it's still useful information.
- An "Account" represents your legal relationship with PSF. A "Personal Account" represents an individual User’s authorization to log in to and use the Service and serves as a User’s identity on PyPI. "Organizations" are shared workspaces that may be associated with a single entity or with one or more Users where multiple Users can collaborate across many projects at once. A Personal Account can be a member of any number of Organizations.
- The "Agreement" refers, collectively, to all the terms, conditions, notices contained or referenced in this document (the "Terms of Service" or the "Terms") and all other operating rules, policies (including the PyPI Privacy Notice) and procedures that we may publish from time to time on the Website. Most of our site policies are available at policies.python.org.
- "Content" refers to content featured or displayed through the Website, including without limitation: code, text, data, articles, images, photographs, graphics, software, applications, packages, designs, features, and other materials that are available on the Website or otherwise available through the Service. "Content" also includes Services. "User-Generated Content" is Content, written or otherwise, created or uploaded by our Users. "Your Content" is Content that you create or own.
- "PSF," "We," and "Us" refer to the Python Software Foundation, as well as our affiliates, directors, subsidiaries, contractors, licensors, officers, agents, and employees.
- The "Service" refers to the applications, software, products, and services provided by PSF.
- "The User," "You," and "Your" refer to the individual person, company, or organization that has visited or is using the Website or Service; that accesses or uses any part of the Account; or that directs the use of the Account in the performance of its functions. A User must be at least 13 years of age.
- The "Website" refers to the PyPI website located at pypi.org, and all content, services, and products provided by PSF at or through the Website. It also refers to python.org, pyfound.org, pythonhosted.org, and other subdomains of PSF-owned domains. Occasionally, websites owned by PSF may provide different or additional terms of service. If those additional terms conflict with this Agreement, the more specific terms apply to the relevant page or service.
Account Terms
Short version: Personal Accounts and Organizations have different administrative controls; a human must create your Account; you must be 13 or over; you must provide a valid email address; and you may not have more than one free Account. You alone are responsible for your Account and anything that happens while you are signed in to or using your Account. You are responsible for keeping your Account secure.
1. Account Controls
a. Users.
Subject to these Terms, you retain ultimate administrative control over your Personal Account and the Content within it.
b. Organizations.
The "owner" of an Organization that was created under these Terms has ultimate administrative control over that Organization and the Content within it. Within the Service, an owner can manage User access to the Organization’s data and projects. An Organization may have multiple owners, but there must be at least one Personal Account designated as an owner of an Organization. If you are the owner of an Organization under these Terms, we consider you responsible for the actions that are performed on or through that Organization.
2. Required Information
You must provide a valid email address and a username in order to complete the signup process. Any other information requested, such as your real name, is optional, unless you are accepting these terms on behalf of a legal entity (in which case we need more information about the legal entity) or if you opt for a paid Account, in which case additional information will be necessary for billing purposes.
3. Account Requirements
We have a few simple rules for Personal Accounts on the PyPI Service.
You must be a human to create an Account. Accounts registered by "bots" or other automated methods are not permitted. Machine accounts may be permitted if they pre-date features designed to fulfill similar duties such as Upload tokens (2019) and Organization accounts (2025).
- A machine account is an Account set up by an individual human who accepts the Terms on behalf of the Account, provides a valid email address, and is responsible for its actions. A machine account is used exclusively for performing automated tasks. Multiple users may direct the actions of a machine account, but the owner of the Account is ultimately responsible for the machine's actions. You may maintain no more than one free machine account in addition to your free Personal Account.
- You must be age 13 or older. PSF does not target our Service to children under 13, and we do not permit any Users under 13 on our Service. If we learn of any User under the age of 13, we will terminate that User’s Account immediately. If you are a resident of a country outside the United States, your country’s minimum age may be older; in such a case, you are responsible for complying with your country’s laws.
- Your login may only be used by one person — i.e., a single login may not be shared by multiple people. A paid Organization may only provide access to as many Personal Accounts as your subscription allows.
- You may not use PyPI in violation of export control or sanctions laws of the United States or any other applicable jurisdiction. You may not use PyPI if you are or are working on behalf of a Specially Designated National (SDN) or a person subject to similar blocking or denied party prohibitions administered by a U.S. government agency. PSF may allow persons in certain sanctioned countries or territories to access certain PSF services pursuant to U.S. government authorizations.
4. Account Security
You are responsible for keeping your Account secure while you use our Service. We offer tools such as two-factor authentication to help you maintain your Account's security, but the content of your Account and its security are up to you.
- You are responsible for all content posted and activity that occurs under your Account (even when content is posted by others who have Accounts under your Organization Account or Accounts which can upload to Projects you own).
- You are responsible for maintaining the security of your Account and password. The PSF cannot and will not be liable for any loss or damage from your failure to comply with this security obligation.
- You will promptly notify PSF if you become aware of any unauthorized use of, or access to, our Service through your Account, including any unauthorized use of your password or Account.
5. Additional Terms
In some situations, third parties' terms may apply to your use of PyPI. For example, you may be a member of an organization on PyPI with its own terms or license agreements, or you may download an application that integrates with PyPI. Please be aware that while these Terms are our full agreement with you, other parties' terms govern their relationships with you.
Acceptable Use
Short version: PyPI hosts a wide variety of packages from all over the world, and depends upon users to act in good faith. While using the service, you must follow the terms of this section, which include some restrictions on content you can post, conduct on the service, and other limitations.
Your use of the Website and Service must not violate any applicable laws, including copyright or trademark laws, export control or sanctions laws, or other laws in your jurisdiction. You are responsible for making sure that your use of the Service is in compliance with laws and any applicable regulations.
You agree that you will not under any circumstances violate our Acceptable Use Policy.
User-Generated Content
Short version: You own content you create, but you allow us certain rights to it, so that we can display and share the content you post. You still have control over your content, and responsibility for it, and the rights you grant us are limited to those we need to provide the service. We have the right to remove content or close Accounts if we need to.
1. Responsibility for User-Generated Content
You may create or upload User-Generated Content while using the Service. You are solely responsible for the content of, and for any harm resulting from, any User-Generated Content that you post, upload, link to or otherwise make available via the Service, regardless of the form of that Content. We are not responsible for any public display or misuse of your User-Generated Content.
By uploading Your Content to PyPI, you agree and affirmatively acknowledge the following:
- Your Content uploaded to PyPI is provided on a non-confidential basis, and is not a trade secret.
- You do not know of any applicable unlicensed patent or trademark rights that would be infringed by Your uploaded Content.
- You represent and warrant that You have complied with all government regulations concerning the transfer or export of any Content You upload to PyPI. In particular, if You are subject to United States law, You represent and warrant that You have obtained any required governmental authorization for the export of the Content You upload. You further affirm that any Content You provide is not intended for use by a government end-user engaged in the manufacture or distribution of items or services controlled on the Wassenaar Munitions List as defined in part 772 of the United States Export Administration Regulations, or by any other embargoed user.
2. PSF May Remove Content
We have the right to refuse or remove any User-Generated Content that, in our sole discretion, violates any laws or PSF terms or policies.
3. Ownership of Content, Right to Post, and License Grants
You retain ownership of and responsibility for Your Content. If you're posting anything you did not create yourself or do not own the rights to, you agree that you are responsible for any Content you post; that you will only submit Content that you have the right to post; and that you will fully comply with any third party licenses relating to Content you post.
Because you retain ownership of and responsibility for Your Content, we need you to grant us — and other PyPI Users — certain legal permissions, provide in subections 4 — 6 below. These license grants apply to Your Content. If you upload Content that already comes with a license granting PSF the permissions we need to run our Service, no additional license is required. You understand that you will not receive any payment for any of the rights granted in subsections 4 — 6 below. The licenses you grant to us will end when you remove Your Content from our servers.
4. License Grant to Us
We need the legal right to do things like host Your Content, publish it, and share it.
If you upload Content covered by a royalty-free license included with such Content, giving the PSF the right to copy and redistribute such Content unmodified on PyPI as you have uploaded it, with no further action required by the PSF (an "Included License"), you represent and warrant that the uploaded Content meets all the requirements necessary for free redistribution by the PSF, users of the Service, and any mirroring facility, public or private, under the Included License.
If you upload Content other than under an Included License, then you grant the PSF, its legal successors and assigns, and all other users of the Service an irrevocable, worldwide, royalty-free, nonexclusive license to reproduce, distribute, transmit, display, perform, and publish the Content, including in digital form.
This license does not grant PSF the right to sell Your Content. It also does not grant PSF the right to otherwise distribute or use Your Content outside of our provision of the Service, except that as part of the right to archive Your Content, PSF may permit third parties to mirror Your Content.
5. Contributions Under Other Licenses
Whenever you add Content with a specified license, you license that Content under the same terms, and you agree that you have the right to license that Content under those terms. If you have a separate agreement to license that Content under different terms, such as a contributor license agreement, that agreement will supersede.
"Isn't this just how it works already?"
Yep. This is widely accepted as the norm in the open-source community; it's commonly referred to by the shorthand "inbound=outbound". We're just making it explicit.
6. Moral Rights
You retain all moral rights to Your Content that you upload, publish, or submit to any part of the Service, including the rights of integrity and attribution. However, you waive these rights and agree not to assert them against us, to enable us to reasonably exercise the rights granted in subsection 4 above, but not otherwise.
To the extent this agreement is not enforceable by applicable law, you grant PSF the rights we need to use Your Content without attribution and to make reasonable adaptations of Your Content as necessary to render the Website and provide the Service.
Private Servers
Some parties may run PyPI-compatible servers that interoperate with PyPI and PyPI client software. These third-party servers are not operated by PSF and are governed by the terms (if any) established by their operators.
Copyright Policy
If you believe that content on our website violates your copyright, please contact us in accordance with our Copyright Policy. If you are a copyright owner and you believe that content on PyPI violates your rights, please contact us via our convenient DMCA form or by emailing legal@python.org. There may be legal consequences for sending a false or frivolous takedown notice. Before sending a takedown request, you must consider legal uses such as fair use and licensed uses.
We will terminate the Accounts of repeat infringers of this policy.
Intellectual Property Notice
Short version: The software that runs PyPI is licensed under open source software and open content licenses. Use of our trademarks are subject to the PSF Trademark Usage Policy.
1. PSF's Rights to Content
The software that runs PyPI is open source software licensed under the Apache-2.0 License. It is available at https://github.com/pypi/warehouse.
2. PSF Trademarks and Logos
If you’d like to use PSF’s trademarks, you must follow our Trademark Usage Policy.
3. License to this Policy
This Agreement is based on the GitHub Terms of Service and is licensed under the Creative Commons Zero license. For details, see our site-policy repository.
API Terms
Short version: You agree to these Terms of Service, including this Section, when using any of PyPI's APIs (Application Provider Interface), including use of the API through a third party product that accesses PyPI.
Abuse or excessively frequent requests to PyPI via the API may result in the temporary or permanent suspension of your Account's access to the API. PSF, in our sole discretion, will determine abuse or excessive usage of the API. We will make a reasonable attempt to warn you via email prior to suspension.
You may not share API tokens to exceed PyPI's rate limitations.
You may not use the API to download data or Content from PyPI for spamming purposes, including for the purposes of selling PyPI users' personal information, such as to recruiters, headhunters, and job boards.
All use of the PyPI API is subject to these Terms of Service and the PyPI Privacy Policy.
Paid Services
Short version: You are responsible for any fees associated with your use of paid PyPI services. We are responsible for communicating those fees to you clearly and accurately, and letting you know well in advance if those prices change.
1. Pricing
We charge fees to host Organizations for private entities, and for support services. Our pricing and payment terms are available at https://docs.pypi.org/organization-accounts/pricing-and-payments/. If you agree to a subscription price, that will remain your price for the duration of the payment term; however, prices are subject to change at the end of a payment term.
2. Upgrades, Downgrades, and Changes
- We may immediately bill you when you register for a paid corporate Organization account.
- If you upgrade to a higher level of service, we may bill you for the upgraded plan immediately.
- You may change your level of service at any time by choosing a plan option or going into your Billing settings. If you choose to downgrade your Account, you may lose access to Content, features, or capacity of your Account. Please see our section on Cancellation for information on getting a copy of that Content.
3. Billing Schedule; No Refunds
Payment Based on Plan. Services are billed in advance on a monthly basis and is non-refundable. There will be no refunds or credits for partial months of service, downgrade refunds, or refunds for months unused with an open Account; however, the service will remain active for the length of the paid billing period. In order to treat everyone equally, no exceptions will be made.
Note
No services are currently billed based on plan.
Payment Based on Usage Some Service features are billed based on your usage. A limited quantity of these Service features may be included in your plan for a limited term without additional charge. If you choose to use paid Service features beyond the quantity included in your plan, you pay for those Service features based on your actual usage in the preceding month. Monthly payment for these purchases will be charged on a periodic basis in arrears.
Note
Per-seat Organization membership prices are billed based on usage.
Invoicing. For invoiced Users, User agrees to pay the fees in full, up front without deduction or setoff of any kind, in U.S. Dollars. User must pay the fees within thirty (30) days of the PSF invoice date. Amounts payable under this Agreement are non-refundable, except as otherwise provided in this Agreement. If User fails to pay any fees on time, PSF reserves the right, in addition to taking any other action at law or equity, to (i) charge interest on past due amounts at 1.0% per month or the highest interest rate allowed by law, whichever is less, and to charge all expenses of recovery, and (ii) terminate the applicable order form. User is solely responsible for all taxes, fees, duties and governmental assessments (except for taxes based on PSF's net income) that are imposed or become due in connection with this Agreement.
Note
Invoicing is not currently available for PyPI services.
4. Authorization
By agreeing to these Terms, you are giving us permission to charge your on-file credit card or other approved methods of payment for fees that you authorize for PyPI.
5. Responsibility for Payment
You are responsible for all fees, including taxes, associated with your use of the Service. By using the Service, you agree to pay PSF any charge incurred in connection with your use of the Service. If you dispute the matter, contact PSF Support. You are responsible for providing us with a valid means of payment for paid Accounts. Free Accounts are not required to provide payment information.
Cancellation and Termination
Short version: You may close your Account at any time. If you do, we'll treat your information responsibly.
1. Account Cancellation
It is your responsibility to properly cancel your Account with PyPI. You can cancel your Account at any time by going into your Settings in the global navigation bar at the top of the screen. The Account screen provides a simple, no questions asked cancellation link. We are not able to cancel Accounts in response to an email or phone request.
2. Upon Cancellation
We will retain and use your information as necessary to comply with our legal obligations, resolve disputes, and enforce our agreements, but barring legal requirements, we will delete your full profile and the Content of your Project(s) and/or Organizations immediately upon cancellation or termination (though some information may remain in encrypted backups). This information can not be recovered once your Account is canceled. Activity logs reflecting user actions taken on Projects and Organizations are retained as long as reasonably required.
Upon request, we will make a reasonable effort to provide a Account owner with a copy of your lawful, non-infringing Account contents prior to Account cancellation, termination, or downgrade. You must make this request before cancellation, termination, or downgrade.
3. PSF May Terminate
PSF has the right to suspend or terminate your access to all or any part of the Website at any time, with or without cause, with or without notice, effective immediately. PSF reserves the right to refuse service to anyone for any reason at any time.
4. Survival
All provisions of this Agreement which, by their nature, should survive termination will survive termination — including, without limitation: ownership provisions, warranty disclaimers, indemnity, and limitations of liability.
Communications with PSF
Short version: We use email and other electronic means to stay in touch with our users.
1. Electronic Communication Required
For contractual purposes, you (1) consent to receive communications from us in an electronic form via the email address you have submitted or via the Service; and (2) agree that all Terms of Service, agreements, notices, disclosures, and other communications that we provide to you electronically satisfy any legal requirement that those communications would satisfy if they were on paper. This section does not affect your non-waivable rights.
2. Legal Notice to PSF Must Be in Writing
Communications made through PSF Support's messaging system will not constitute legal notice to PSF or any of its officers, employees, agents or representatives in any situation where notice to PSF is required by contract or any law or regulation. Legal notice to PSF must be in writing and directed to PSF's legal agent at legal@python.org.
3. No Phone Support
PSF only offers support via email, in-Service communications, and electronic messages. We do not offer telephone support.
Disclaimer of Warranties
Short version: We provide our service as is, and we make no promises or guarantees about this service. Please read this section carefully; you should understand what to expect.
PSF provides the Website and the Service "as is" and "as available," without warranty of any kind. Without limiting this, we expressly disclaim all warranties, whether express, implied or statutory, regarding the Website and the Service including without limitation any warranty of merchantability, fitness for a particular purpose, title, security, accuracy and non-infringement.
PSF does not warrant that the Service will meet your requirements; that the Service will be uninterrupted, timely, secure, or error-free; that the information provided through the Service is accurate, reliable or correct; that any defects or errors will be corrected; that the Service will be available at any particular time or location; or that the Service is free of viruses or other harmful components. You assume full responsibility and risk of loss resulting from your downloading and/or use of files, information, content or other material obtained from the Service.
Limitation of Liability
Short version: We will not be liable for damages or losses arising from your use or inability to use the service or otherwise arising under this agreement. Please read this section carefully; it limits our obligations to you.
You understand and agree that we will not be liable to you or any third party for any loss of profits, use, goodwill, or data, or for any incidental, indirect, special, consequential or exemplary damages, however arising, that result from:
- the use, disclosure, or display of your User-Generated Content;
- your use or inability to use the Service;
- any modification, price change, suspension or discontinuance of the Service;
- the Service generally or the software or systems that make the Service available;
- unauthorized access to or alterations of your transmissions or data;
- statements or conduct of any third party on the Service;
- any other user interactions that you input or receive through your use of the Service; or
- any other matter relating to the Service.
Our liability is limited whether or not we have been informed of the possibility of such damages, and even if a remedy set forth in this Agreement is found to have failed of its essential purpose. We will have no liability for any failure or delay due to matters beyond our reasonable control.
Release and Indemnification
Short version: You are responsible for your use of the service. If you harm someone else or get into a dispute with someone else, we will not be involved.
If you have a dispute with one or more Users, you agree to release PSF from any and all claims, demands and damages (actual and consequential) of every kind and nature, known and unknown, arising out of or in any way connected with such disputes.
You agree to indemnify us, defend us, and hold us harmless from and against any and all claims, liabilities, and expenses, including attorneys’ fees, arising out of your use of the Website and the Service, including but not limited to your violation of this Agreement, provided that PSF (1) promptly gives you written notice of the claim, demand, suit or proceeding; (2) gives you sole control of the defense and settlement of the claim, demand, suit or proceeding (provided that you may not settle any claim, demand, suit or proceeding unless the settlement unconditionally releases PSF of all liability); and (3) provides to you all reasonable assistance, at your expense.
Changes to These Terms
Short version: We want our users to be informed of important changes to our terms, but some changes aren't that important — we don't want to bother you every time we fix a typo. So while we may modify this agreement at any time, we will notify users of any material changes and give you time to adjust to them.
We reserve the right, at our sole discretion, to amend these Terms of Service at any time and will update these Terms of Service in the event of any such amendments. We will notify our Users of material changes to this Agreement, such as price increases, at least 30 days prior to the change taking effect by posting a notice on our Website or sending email to the primary email address specified in your PyPI account. Your continued use of the Service after those 30 days constitutes agreement to those revisions of this Agreement. For any other modifications, your continued use of the Website constitutes agreement to our revisions of these Terms of Service. You can view all changes to these Terms in our Site Policy repository.
We reserve the right at any time and from time to time to modify or discontinue, temporarily or permanently, the Website (or any part of it) with or without notice.
Miscellaneous
1. Governing Law
Except to the extent applicable law provides otherwise, this Agreement between you and PSF and any access to or use of the Website or the Service are governed by the federal laws of the United States of America and the laws of the State of Delaware, without regard to conflict of law provisions. You and PSF agree to submit to the exclusive jurisdiction and venue of the courts located in the City of Wilmington and County of New Castle, Delaware.
2. Non-Assignability
Neither party may assign this Agreement or any of its rights or obligations hereunder without the other's express written consent, except that either party may assign this Agreement to the surviving party in a merger of that party into another entity or in an acquisition of all or substantially all its assets.
3. Section Headings and Summaries
Throughout this Agreement, each section includes titles and brief summaries of the following terms and conditions. These section titles and brief summaries are not legally binding.
4. Severability, No Waiver, and Survival
If any part of this Agreement is held invalid or unenforceable, that portion of the Agreement will be construed to reflect the parties’ original intent. The remaining portions will remain in full force and effect. Any failure on the part of PSF to enforce any provision of this Agreement will not be considered a waiver of our right to enforce such provision. Our rights under this Agreement will survive any termination of this Agreement.
5. Amendments; Complete Agreement
This Agreement may only be modified by a written amendment signed by an authorized representative of PSF, or by the posting by PSF of a revised version in accordance with Changes to These Terms. These Terms of Service, together with the PyPI Privacy Notice and Acceptable Use Policy, represent the complete and exclusive statement of the agreement between you and us. This Agreement supersedes any proposal or prior agreement oral or written, and any other communications between you and PSF relating to the subject matter of these terms including any confidentiality or nondisclosure agreements.
6. Questions
Questions about the Terms of Service? Contact us at legal@python.org.