Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Functions
  • Comparison with other Yandex Cloud services
    • Overview
    • Managing dependencies
    • Request handler
    • Invocation context
    • Logging
    • Handling errors
    • Using the SDK
  • Tools
  • Pricing policy
  • Access management
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • FAQ
  1. Developing in Python
  2. Managing dependencies

Managing Python function dependencies

Written by
Yandex Cloud
Improved by
Denis R.
Updated at September 23, 2024

Cloud Functions can automatically install dependencies required for a Python function to run. To do this, when creating a new function version, Cloud Functions will run the pip install command in the project root (folder containing the function).

To specify the required function libraries, list them in the requirements.txt file. For more information about the requirements.txt file format, see the pip documentation.

Example of the requirements.txt file:

boto3==1.13.15
attrs==19.3.0

The dependency installation process has some restrictions. For more information, see Quotas and limits in Cloud Functions. You can view the dependency installation log using the link that appears in the list of operations.

Was the article helpful?

Previous
Overview
Next
Request handler
© 2025 Direct Cursus Technology L.L.C.