{"id":19639028,"url":"https://github.com/timsutton/python-macadmins-2015","last_synced_at":"2025-06-23T01:09:07.784Z","repository":{"id":33833271,"uuid":"37533043","full_name":"timsutton/python-macadmins-2015","owner":"timsutton","description":"Python for Mac Admins 2015 talk (MacDevOps, MacDeploy) resources","archived":false,"fork":false,"pushed_at":"2015-06-22T06:42:56.000Z","size":558,"stargazers_count":27,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-21T15:14:28.120Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timsutton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-16T13:50:04.000Z","updated_at":"2025-02-03T22:57:34.000Z","dependencies_parsed_at":"2022-08-17T20:35:09.076Z","dependency_job_id":null,"html_url":"https://github.com/timsutton/python-macadmins-2015","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/timsutton/python-macadmins-2015","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timsutton%2Fpython-macadmins-2015","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timsutton%2Fpython-macadmins-2015/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timsutton%2Fpython-macadmins-2015/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timsutton%2Fpython-macadmins-2015/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timsutton","download_url":"https://codeload.github.com/timsutton/python-macadmins-2015/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timsutton%2Fpython-macadmins-2015/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261392183,"owners_count":23151719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T12:43:50.687Z","updated_at":"2025-06-23T01:09:02.767Z","avatar_url":"https://github.com/timsutton.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python for Mac Admins\n\nThis is a collection of Python code snippets and scripts that was used throughout my Python for Mac Admins sessions, which took place at the [MacDeploy](http://macdeployment.ca) and [MacDevOpsYVR](http://www.macdevops.ca) western Canada conferences in June 2015. The slides are also available in this repo.\n\nMost of the talk used \"interactive\" Python. For this you're free to use the standard `python` executable you will find on every OS X system, but I use [IPython](http://ipython.org) for a few added niceties. IPython is _not_ required for running any of these examples.\n\nIt can be installed like any other Python package. If you're not familiar with tools like `pip` or `easy_install`, you can still easily install IPython globally (for all users) in a single step: `sudo easy_install ipython`.\n\nFor example:\n\n```\n➜  ~  sudo easy_install ipython\n\nSearching for ipython\nReading https://pypi.python.org/simple/ipython/\nBest match: ipython 3.1.0\nDownloading https://pypi.python.org/packages/source/i/ipython/ipython-3.1.0.zip#md5=dfa0766ee4b035f6048740e8fcc9b8bb\nProcessing ipython-3.1.0.zip\nWriting /tmp/easy_install-97WOa8/ipython-3.1.0/setup.cfg\nRunning ipython-3.1.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-97WOa8/ipython-3.1.0/egg-dist-tmp-mujQVZ\n              readline: yes\nrebuilding css and sourcemaps failed (not a problem)\ninvoke is required to rebuild css (pip install invoke)\nchecking package data\nAdding ipython 3.1.0 to easy-install.pth file\nInstalling ipengine2 script to /usr/local/bin\nInstalling iptest script to /usr/local/bin\nInstalling ipython2 script to /usr/local/bin\nInstalling ipcluster2 script to /usr/local/bin\nInstalling ipcluster script to /usr/local/bin\nInstalling ipython script to /usr/local/bin\nInstalling ipcontroller2 script to /usr/local/bin\nInstalling ipcontroller script to /usr/local/bin\nInstalling iptest2 script to /usr/local/bin\nInstalling ipengine script to /usr/local/bin\n\nInstalled /Library/Python/2.7/site-packages/ipython-3.1.0-py2.7.egg\nProcessing dependencies for ipython\nFinished processing dependencies for ipython\n```\n\nAt this point, you should be able to simply type `ipython` into a terminal, press return, and:\n\n```bash\n➜  ~  ipython\nPython 2.7.6 (default, Sep  9 2014, 15:04:36)\nType \"copyright\", \"credits\" or \"license\" for more information.\n\nIPython 3.1.0 -- An enhanced Interactive Python.\n?         -\u003e Introduction and overview of IPython's features.\n%quickref -\u003e Quick reference.\nhelp      -\u003e Python's own help system.\nobject?   -\u003e Details about 'object', use 'object??' for extra details.\n\nIn [1]:\n```\n\nHave fun!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimsutton%2Fpython-macadmins-2015","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimsutton%2Fpython-macadmins-2015","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimsutton%2Fpython-macadmins-2015/lists"}