Public Sector

We've had the pleasure of working with UK and overseas central and local government departments, including Healthcare (NHS and Foundation Trusts), Defence, Education (Universities and colleges), many of the main Civil Service departments, Emergency Services; also public-owned corporations including the BBC, Bank of England, Ordnance Survey, and regulatory bodies such as Ofgem.

We are registered on Crown Commercial Service’s (CCS) Dynamic Purchasing System (RM6219 Training and Learning) and also with numerous tender portals such as Ariba, Coupa and Delta E-Sourcing.

Read more...

Graduate Training Schemes

Framework Training has a strong track record of providing a solid introduction into the working world for technical graduates across myriad industries. We provide the opportunity to learn and gain valuable hands-on experience in a supportive, friendly and sociable training environment.

Attract & retain the brightest new starters

We know it is vital for our clients to invest in the future of their talented grads; not only to provide them with high-quality, professional training essential for their roles, but to embed them within the organisation’s culture and guide them on the right path to a successful career.

After all, your new hires could well be the next leaders and their creative ideas and unique insights are invaluable to your business.

Read more ...

Learning & Development

Our unique portfolio of high-quality technical courses and training programmes are industry-respected. They’re carefully designed so that delegates can seamlessly apply what they’ve learnt back in the workplace. Our team of domain experts, trainers, and support teams know our field — and all things tech — inside out, and we work hard to keep ourselves up to speed with the latest innovations. 

We’re proud to develop and deliver innovative learning solutions that actually work and make a tangible difference to your people and your business, driving through positive lasting change. Our training courses and programmes are human-centred. Everything we do is underpinned by our commitment to continuous improvement and learning and generally making things much better.

Read more...

Corporate & Volume Pricing

Whether you are looking to book multiple places on public scheduled courses (attended remotely or in our training centres in London) or planning private courses for a team within your organisation, we will be happy to discuss preferential pricing which maximise your staff education budget.

Enquire today about:

  • Training programme pricing models  

  • Multi-course voucher schemes

Read more...

Custom Learning Paths

We understand that your team training needs don't always fit into a "one size fits all" mould, and we're very happy to explore ways in which we can tailor a bespoke learning path to fit your learning needs.

Find out about how we can customise everything from short overviews, intensive workshops, and wider training programmes that give you coverage of the most relevant topics based on what your staff need to excel in their roles.

Read more...

Building high-performance APIs with FastAPI

Learn to build turbo-charged type-Safe asynchronous Web Services with Python and FastAPI.

About the course

This two-day, hands-on course teaches you how to design, develop, and deploy high-performance, production-ready APIs using FastAPI. By leveraging modern Python features like type hints and the powerful Pydantic library, FastAPI automatically handles data validation, serialization, and interactive documentation (Swagger/ReDoc).

Not for the faint of heart, this intensive workshop for Python developers focuses on architectural best practices, asynchronous performance, advanced dependency injection, and secure authentication, ensuring you can build robust and maintainable services that meet modern demands.

Instructor-led online and in-house face-to-face options are available - as part of a wider customised training programme, or as a standalone workshop, on-site at your offices or at one of many flexible meeting spaces in the UK and around the World.

    • Build Type-Safe APIs: Leverage Python type hints and Pydantic models to automatically validate request data and serialize responses.
    • Implement Asynchronous Logic: Write performant, non-blocking code using async and await to handle high concurrency.
    • Design Scalable Structure: Organize complex APIs using the APIRouter and master FastAPI's powerful Dependency Injection system.
    • Integrate Databases: Connect and interact with relational databases using SQLAlchemy (or modern asynchronous database drivers).
    • Secure Endpoints: Implement robust authentication and authorization using OAuth2 and JSON Web Tokens (JWT).
    • Test and Document: Write unit and integration tests using Pytest and utilize the automatic Swagger/ReDoc documentation.
  • This course is ideal for Python Developers, Backend Engineers, and Data Scientists who are familiar with Python syntax and want to transition into building high-speed, asynchronous web services or modernizing existing Flask/Django APIs.

  • Attendees must have:

    • Strong Proficiency in Python 3.8+: Comfort with classes, functions, and the standard library.

    • Familiarity with Python Type Hints: An understanding of how to use type hints in function signatures.

    • Basic understanding of REST principles and HTTP methods.

  • This FastAPI course is available for private / custom delivery for your team - as an in-house face-to-face workshop at your location of choice, or as online instructor-led training via MS Teams (or your own preferred platform).

    Get in touch to find out how we can deliver tailored training which focuses on your project requirements and learning goals.

  • Introduction to FastAPI and Modern Python

    • Why FastAPI? Performance and developer experience benefits.

    • Setting up the project: virtual environments and requirements.

    • The role of ASGI (Asynchronous Server Gateway Interface) and Uvicorn.

    Routing and Basic CRUD Operations

    • Defining routes, path, and query parameters.

    • Handling all core HTTP methods (GET, POST, PUT, DELETE).

    • Using status codes and custom headers for API responses.

    Data Modeling with Pydantic

    • Defining data schemas using Pydantic models.

    • Automatic request validation and response serialization.

    • Handling nested data structures and optional fields.

    • Using field validators and configuration.

    Asynchronous Programming

    • Understanding the difference between synchronous and asynchronous code in Python.

    • When and how to use async and await for performance gains.

    • Handling long-running synchronous tasks efficiently.

    Dependency Injection (DI) System

    • The power of FastAPI's dependency system.

    • Defining simple and chained dependencies.

    • Using dependencies for authentication, database sessions, and configuration access.

    Database Integration and ORMs

    • Setting up asynchronous database drivers (e.g., asyncpg).

    • Integrating an ORM like SQLAlchemy 2.0 (with asyncio support).

    • Managing database session dependencies (e.g., using yield).

    Security and Authentication

    • Implementing OAuth2 (Bearer token authentication).

    • Using JSON Web Tokens (JWT) for stateless sessions.

    • Defining secure password hashing (e.g., Bcrypt/Argon2).

    Testing, Monitoring, and Deployment

    • Writing unit and integration tests using Pytest and the TestClient.

    • Handling configuration and environment variables.

    • Deployment strategies (Docker, Gunicorn/Uvicorn workers).

    • Rate limiting and performance considerations.

  • Key Resources and Documentation

    • FastAPI Official Documentation: the single most important resource. The documentation is exceptionally well-written, covers every feature, and uses clear, runnable examples.

    • Pydantic Documentation: Pydantic is the data validation library that powers FastAPI's schemas, type checking, and automatic documentation. Understanding it is key.

    • Uvicorn Documentation: Uvicorn is the high-performance ASGI server that runs FastAPI applications. This is necessary for production deployment.

    • Async/Await in Python (Official Guide): read more about Python's native asynchronous programming features, which are fundamental to FastAPI's speed.

    Recommended VS Code Extensions

    FastAPI's strength comes from its integration with Python's typing system, making these extensions vital for a productive workflow:

    Deployment and Hosting Options

    FastAPI is designed to run on ASGI servers, and its lightweight nature makes it ideal for cloud-native deployment. Here are two highly popular and efficient methods:

    • Containerization (Docker):

    • Cloud Hosting Platforms:

      • Render: A popular cloud service often recommended for easily hosting Uvicorn/FastAPI applications due to its straightforward configuration. - https://render.com/

      • You may also wish to consider deploying Docker containers to a Cloud provider such as DigitalOcean /AWS / Azure / GCP: Deploying the application as a Docker container to cloud infrastructure for maximum control and scalability.

Trusted by

IBM company logo OVO Energy company logo University of Glasgow logo/crest

Public Courses Dates and Rates

Please get in touch for pricing and availability.

Related courses