Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce python buzzwords #13

Closed
sachinjain024 opened this issue Sep 30, 2017 · 4 comments
Closed

Introduce python buzzwords #13

sachinjain024 opened this issue Sep 30, 2017 · 4 comments
Assignees

Comments

@sachinjain024
Copy link
Collaborator

sachinjain024 commented Sep 30, 2017

If you can explain what is python and the different buzzwords, it will be helpful for beginners to understand the python ecosystem. Include details about:

  • virtualenv
  • pipenv
  • conda
  • anaconda
  • pip
  • numpy
  • flask
  • django
  • panda

Also write a guide about how to setup python locally so that you can have multiple versions of python running.

@sachinjain024
Copy link
Collaborator Author

sachinjain024 commented Sep 30, 2017

pipenv

  • Different project needs different version of dependencies.
  • You can use pipenv to define different configurations per project.
  • After Renaming the project, you need to run pipenv install again. As the virtualenv location is tied to the current project directory. (https://github.com/kennethreitz/pipenv/issues/796)

virtualenv

  • Different project needs different python versions or environments.
  • In virtual env, different python versions can be maintained.

Node vs Python

  • In nodejs, we have nvm to manage different node versions and npm to manage/install dependencies.
  • Every project contains package.json while here project contains Pipfile.

@sachinjain024
Copy link
Collaborator Author

sachinjain024 commented Sep 30, 2017

@sachinjain024 sachinjain024 self-assigned this Oct 1, 2017
@sachinjain024
Copy link
Collaborator Author

Start a project

  • http://docs.python-guide.org/en/latest/dev/virtualenvs/
  • Install pipenv
  • pipenv provides you the combination of pip and virtualenv
  • Provides functionality of package manager like npm
  • You can create Separate virtual env for different projects
  • Initialize the project like this:
    pipenv --python 3.6
    pipenv install <package_name>

@sachinjain024
Copy link
Collaborator Author

This article has been published - http://techmango.org/2017/11/30/python-buzzwords/
Closing this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant