Python Launcher. By default, macOS comes with Python 2.7.3 installed. That's not the newest version of Python, however. If you've installed Python 3, you'll have access to a few more software tools. These include the Python Launcher, a GUI program that runs Python scripts. If it is installed on your Mac, you can run Python scripts from. Aug 27, 2020 Interactive python shell; A multi-lingual user interface that includes English, German, Russian, French, Czech, Spanish, Italian, Turkish, and Chinese languages. Version control for Subversion, Mercurial, and Git using add on plugins. Eric can easily be counted as the best IDE for Python in the free tier. Hi there, I decided to only add Python for this realise. Maybe I can re-add JavaScript in the future. If a user wants to test JavaScript commands they can press Press Command + Option + J (Mac) or Control + Shift + J (Windows, Linux, Chrome OS) and open the dev tools JavaScript console in their browser.
Get Started
Whether you're new to programming or an experienced developer, it's easy to learn and use Python.
Download
Visual Studio Code on macOS Installation. Download Visual Studio Code for macOS.; Open the browser's download list and locate the downloaded archive.
Python source code and installers are available for download for all versions!
Latest: Python 3.9.0
Docs
Documentation for Python's standard library, along with tutorials and guides, are available online.
Jobs
Looking for work or have a Python related position that you're trying to hire for? Our relaunched community-run job board is the place to go.
Latest News
Upcoming Events
Success Stories
Thanks to the flexibility of Python and the powerful ecosystem of packages, the Azure CLI supports features such as autocompletion (in shells that support it), persistent credentials, JMESPath result parsing, lazy initialization, network-less unit tests, and more.
Building an open-source and cross-platform Azure CLI with Pythonby Dan Taylor |
Use Python for…
- Web Development: Django, Pyramid, Bottle, Tornado, Flask, web2py
- GUI Development: tkInter, PyGObject, PyQt, PySide, Kivy, wxPython
- Scientific and Numeric: SciPy, Pandas, IPython
- Software Development: Buildbot, Trac, Roundup
- System Administration: Ansible, Salt, OpenStack
>>>Python Enhancement Proposals (PEPs): The future of Python is discussed here. RSS
>>>Python Software Foundation
The mission of the Python Software Foundation is to promote, protect, and advance the Python programming language, and to support and facilitate the growth of a diverse and international community of Python programmers. Learn more
Latest versionReleased:
AWS Shell
Project description
aws-shell - The interactive productivity booster for the AWS CLI
Installation
The aws-shell requires python and pip to install.You can install the aws-shell using pip:
If you are not installing into a virtualenv you can run:
Mac OS X (10.11 El Capitan) users: There is a known issue with Apple andits included python package dependencies (more info athttps://github.com/pypa/pip/issues/3165).We are investigating ways to fix this issue but in the meantime,to install the aws-shell, you can run:sudo pip install aws-shell--upgrade--ignore-installed six
Once you've installed the aws-shell, you can now run:
To exit the shell, press Ctrl-D.
Run Python On Mac
Upgrading the aws-shell
If you want to upgrade to the latest version of the aws-shell,you can run:
You can also use this upgrade command whenever a new version of the AWS CLI isreleased that includes new services and API updates. You will then beable to use these new services and API updates in the aws-shell.
Supported Python Versions
The aws-shell works on the same python versions supported by the AWS CLI:
- 2.6.5 and greater
- 2.7.x and greater
- 3.3.x and greater
- 3.4.x and greater
Configuration
The aws-shell uses the same configuration settings as the AWS CLI.If you've never used the AWS CLI before, the easiest way to getstarted is to run the configure command:
For more information about configure settings, see theAWS CLI Getting Started Guide.
Basic Usage
The aws-shell accepts the same commands as the AWS CLI, except you don'tneed to provide the aws prefix. For example, here are a few commandsyou can try:
Profiles
The aws-shell supports AWS CLI profiles. You have two options to useprofiles. First, you can provide a profile when you start the aws-shell:
When you do this all the server side completion as well as CLI commandsyou run will automatically use the prod profile.
Tables for mac computers. You can also change the current profile while you're in the aws-shell:
You can also check what profile you've configured in the aws-shell using:
After changing your profile using the .profile dot command, allserver side completion as well as CLI commands will automatically usethe new profile you've configured.
Features
Auto Completion of Commands and Options
The aws-shell provides auto completion of commands andoptions as you type.
Shorthand Auto Completion
The aws-shell can also fill in an example of theshorthand syntax used for various AWS CLI options:
Server Side Auto Completion
The aws-shell also leverages boto3, the AWS SDK for Python, to auto completeserver side resources such as Amazon EC2 instance Ids, Amazon Dynamodb tablenames, AWS IAM user names, Amazon S3 bucket names, etc.
This feature is under active development. The list of supported resourcescontinues to grow.
Fuzzy Searching
Every auto completion value supports fuzzy searching. This enables you tospecify the commands, options, and values you want to run with even lesstyping. You can try typing:
- The first letter of each sub word: ec2 describe-reserved-instances-offerings-> ec2 drio
- A little bit of each word: ec2 describe-instances -> ec2 descinst
- Any part of the command: dynamodb table -> Offers all commands thatcontain the subsequence table.
Inline Documentation
The aws-shell will automatically pull up documentation as you type commands.It will show inline documentation for CLI options. There is also a separatedocumentation panel that will show documentation for the current command oroption you are typing. Pressing F9 will toggle focus to the documentation panelallowing you to navigate it using your selected keybindings.
Fish-Style Auto Suggestions
The aws-shell supports Fish-style auto-suggestions. Use the right arrow key tocomplete a suggestion.
Command History
The aws-shell records the commands you run and writes them to~/.aws/shell/history. You can use the up and down arrow keys to scrollthrough your history.
Toolbar Options
The aws-shell has a bottom toolbar that provides several options:
- F2 toggles between fuzzy and substring matching
- F3 toggles between VI and Emacs key bindings
- F4 toggles between single and multi column auto completions
- F5 shows and hides the help documentation pane
- F9 toggles focus between the cli and documentation pane
- F10 or Ctrl-D exits the aws-shell
As you toggle options in the toolbar, your preferences are persistedto the ~/.aws/shell/awsshellrc file so that the next time you runthe aws-shell, your preferences will be restored.
Dot Commands
The aws-shell provides additional commands specific to the aws-shell.The commands are available by adding the . prefix before a command.
User-defined Syntax highlighting and folding. Entirely customizable GUI. Html tool for mac. Multi-view and Multi-Language supportDownload link.
Python Shell For Mac Download
Exiting the Shell
You can run the .exit or .quit commands to exit the shell.
Creating Shell Scripts with .edit
There are times when you may want to take a sequence of commandsyou've run in the aws-shell and combine them into a shell script.In addition to the command history that's persisted to thehistory file, the aws-shell also keeps track of all the commandsyou've run since you first started your aws-shell session.
You can run the .edit command to open all these commands inan editor. The aws-shell will use the EDITOR environmentvariable before defaulting to notepad on Windows andvi on other platforms.
Changing Profiles with .profile
You can change the current AWS CLI profile used by the aws-shellby using the .profile dot command. If you run the .profilecommand with no arguments, the currently configured shell profilewill be printed.
.cd
You can change the current working directory of the aws-shell by usingthe .cd command:
Executing Shell Commands
The aws-shell integrates with other commands in several ways.First, you can pipe AWS CLI commands to other processes as wellas redirect output to a file:
Second, if you want to run a shell command rather than an AWS CLIcommand, you can add the ! prefix to your command:
Developer Preview Status
The aws-shell is currently in developer preview.We welcome feedback, feature requests, and bug reports.There may be backwards incompatible changes made in orderto respond to customer feedback as we continue to iterateon the aws-shell.
More Information
Below are miscellaneous links for more information:
Installation
The aws-shell requires python and pip to install.You can install the aws-shell using pip:
If you are not installing into a virtualenv you can run:
Mac OS X (10.11 El Capitan) users: There is a known issue with Apple andits included python package dependencies (more info athttps://github.com/pypa/pip/issues/3165).We are investigating ways to fix this issue but in the meantime,to install the aws-shell, you can run:sudo pip install aws-shell--upgrade--ignore-installed six
Once you've installed the aws-shell, you can now run:
To exit the shell, press Ctrl-D.
Run Python On Mac
Upgrading the aws-shell
If you want to upgrade to the latest version of the aws-shell,you can run:
You can also use this upgrade command whenever a new version of the AWS CLI isreleased that includes new services and API updates. You will then beable to use these new services and API updates in the aws-shell.
Supported Python Versions
The aws-shell works on the same python versions supported by the AWS CLI:
- 2.6.5 and greater
- 2.7.x and greater
- 3.3.x and greater
- 3.4.x and greater
Configuration
The aws-shell uses the same configuration settings as the AWS CLI.If you've never used the AWS CLI before, the easiest way to getstarted is to run the configure command:
For more information about configure settings, see theAWS CLI Getting Started Guide.
Basic Usage
The aws-shell accepts the same commands as the AWS CLI, except you don'tneed to provide the aws prefix. For example, here are a few commandsyou can try:
Profiles
The aws-shell supports AWS CLI profiles. You have two options to useprofiles. First, you can provide a profile when you start the aws-shell:
When you do this all the server side completion as well as CLI commandsyou run will automatically use the prod profile.
Tables for mac computers. You can also change the current profile while you're in the aws-shell:
You can also check what profile you've configured in the aws-shell using:
After changing your profile using the .profile dot command, allserver side completion as well as CLI commands will automatically usethe new profile you've configured.
Features
Auto Completion of Commands and Options
The aws-shell provides auto completion of commands andoptions as you type.
Shorthand Auto Completion
The aws-shell can also fill in an example of theshorthand syntax used for various AWS CLI options:
Server Side Auto Completion
The aws-shell also leverages boto3, the AWS SDK for Python, to auto completeserver side resources such as Amazon EC2 instance Ids, Amazon Dynamodb tablenames, AWS IAM user names, Amazon S3 bucket names, etc.
This feature is under active development. The list of supported resourcescontinues to grow.
Fuzzy Searching
Every auto completion value supports fuzzy searching. This enables you tospecify the commands, options, and values you want to run with even lesstyping. You can try typing:
- The first letter of each sub word: ec2 describe-reserved-instances-offerings-> ec2 drio
- A little bit of each word: ec2 describe-instances -> ec2 descinst
- Any part of the command: dynamodb table -> Offers all commands thatcontain the subsequence table.
Inline Documentation
The aws-shell will automatically pull up documentation as you type commands.It will show inline documentation for CLI options. There is also a separatedocumentation panel that will show documentation for the current command oroption you are typing. Pressing F9 will toggle focus to the documentation panelallowing you to navigate it using your selected keybindings.
Fish-Style Auto Suggestions
The aws-shell supports Fish-style auto-suggestions. Use the right arrow key tocomplete a suggestion.
Command History
The aws-shell records the commands you run and writes them to~/.aws/shell/history. You can use the up and down arrow keys to scrollthrough your history.
Toolbar Options
The aws-shell has a bottom toolbar that provides several options:
- F2 toggles between fuzzy and substring matching
- F3 toggles between VI and Emacs key bindings
- F4 toggles between single and multi column auto completions
- F5 shows and hides the help documentation pane
- F9 toggles focus between the cli and documentation pane
- F10 or Ctrl-D exits the aws-shell
As you toggle options in the toolbar, your preferences are persistedto the ~/.aws/shell/awsshellrc file so that the next time you runthe aws-shell, your preferences will be restored.
Dot Commands
The aws-shell provides additional commands specific to the aws-shell.The commands are available by adding the . prefix before a command.
User-defined Syntax highlighting and folding. Entirely customizable GUI. Html tool for mac. Multi-view and Multi-Language supportDownload link.
Python Shell For Mac Download
Exiting the Shell
You can run the .exit or .quit commands to exit the shell.
Creating Shell Scripts with .edit
There are times when you may want to take a sequence of commandsyou've run in the aws-shell and combine them into a shell script.In addition to the command history that's persisted to thehistory file, the aws-shell also keeps track of all the commandsyou've run since you first started your aws-shell session.
You can run the .edit command to open all these commands inan editor. The aws-shell will use the EDITOR environmentvariable before defaulting to notepad on Windows andvi on other platforms.
Changing Profiles with .profile
You can change the current AWS CLI profile used by the aws-shellby using the .profile dot command. If you run the .profilecommand with no arguments, the currently configured shell profilewill be printed.
.cd
You can change the current working directory of the aws-shell by usingthe .cd command:
Executing Shell Commands
The aws-shell integrates with other commands in several ways.First, you can pipe AWS CLI commands to other processes as wellas redirect output to a file:
Second, if you want to run a shell command rather than an AWS CLIcommand, you can add the ! prefix to your command:
Developer Preview Status
The aws-shell is currently in developer preview.We welcome feedback, feature requests, and bug reports.There may be backwards incompatible changes made in orderto respond to customer feedback as we continue to iterateon the aws-shell.
More Information
Below are miscellaneous links for more information:
Release historyRelease notifications | RSS feed
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0
0.0.1
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size aws_shell-0.2.2-py2.py3-none-any.whl (50.6 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes |
Filename, size aws-shell-0.2.2.tar.gz (55.4 kB) | File type Source | Python version None | Upload date | Hashes |
Hashes for aws_shell-0.2.2-py2.py3-none-any.whl
Algorithm | Hash digest |
---|---|
SHA256 | dc7a7d8bd831021f4fe6fe67d35757d9f8bf83a28693d3fff57aa114861f7367 |
MD5 | c6d1b5cf652ed2b8d784e58be28c2b0d |
BLAKE2-256 | cb019e5d72ebf69dc670ceaab4cfe4d4db92256ae2c332fc5b16c90301065ed6 |
Hashes for aws-shell-0.2.2.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | fd1699ea5f201e7cbaacaeb34bf1eb88c8fe6dc6b248bce1b3d22b3e099a41e5 |
MD5 | 89b53102973bffd07a69fc74a93ac67c |
BLAKE2-256 | 0131ee166a91c865a855af4f15e393974eadf57762629fc2a163a3eb3f470ac5 |