Giter Club home page Giter Club logo

python-p3-intro-to-configuring-applications's Introduction

Intro to Configuring Python Applications

Learning Goals

  • Group related functions, classes, and methods together to accomplish larger tasks.
  • Build modules and packages that can be used by other applications.
  • Make use of external packages in your own code.

Key Vocab

  • Module: a file containing Python definitions and statements. A module's functions, classes, and global variables can be accessed by other modules.
  • Package: a collection of modules that can be accessed as a group using the package name.
  • import: the Python keyword used to access data from other packages and modules inside of the current module.
  • PyPI: the Python Package Index. A repository of Python packages that can be downloaded and made available to your application.
  • pip: the command line tool used to download packages from PyPI. pip is installed on your computer automatically when you download Python.
  • Virtual Environment: a collection of modules, packages, and scripts that can be activated or deactivated at any time.
  • Pipenv: a virtual environment tool that uses pip to manage the modules, packages, and scripts that you intend to use in your application.

Introduction

There are a number of outside resources we can leverage in working with our Python applications. For example, pytest is a Python-specific library, or package. We leverage this testing tool for behavior-driven testing. As we start to build out more complex applications, it's standard to utilize packages and other conventions for setting up Python applications. This will not only save time, but will also offer a common template that is familiar to Python developers.

We'll cover topics including:

  • What is a module?
  • What is a package?
  • How does import allow me to expand the functionality of my application?
  • How do I find packages on PyPI?
  • How is my virtual environment set up when I run pipenv install?

In the next couple of lessons, we'll explain these tools and concepts that have been designed for efficiency.


Resources

python-p3-intro-to-configuring-applications's People

Contributors

professor-ben avatar richwblake avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.