Embedded Linux
  • Cover
  • Summary
  • About This Training
    • Objectives
    • Skills
    • Prerequisites
    • Requirements
  • Once Upon A Time ...
  • Embedded Linux
  • Build Systems
    • Yocto Board Support Package
      • Yocto
      • Compilation
        • Make
        • Bitbake
        • Script
      • Building Blocks
      • SDK
      • Extra Packages
      • Kernel
        • Patch
        • Building
        • Headers
      • Modules
        • Cross Compilation
        • Native
      • Filesystem
      • Flashing
    • Distributions
      • CentOS
      • Google Brillo
      • Jubilinux
      • Kali
      • Ostro
      • Ubilinux
      • Debian
  • Boot Loaders
    • U-Boot
  • Initialization
    • Upgrade
    • Boot Up
    • Dual Boot
    • Root Directory
    • Display Message
    • Modules
    • Filesystem
    • Memory
    • Backup
    • Recovery
    • Reboot
    • Processes
  • User Space
    • Virtual Network Computing
    • Text Editors
    • Services
    • Logs
    • Package Management Systems
      • Open Package Management
      • Python Package Index
      • Nicely Package Make
      • Advanced Packaging Tool
      • Manual
      • Conda
    • Libraries
      • Mraa
      • Upm
      • OpenCv
      • Temboo
      • Libiio
    • Frameworks
      • Cylon JS
      • Johnny Five
      • ROS
      • Gobot
      • Pixhawk
      • Artoo
      • Bower
      • Zetta
      • Miscellaneous
  • Subsystems
    • X File Systems
    • Pin Muxing
    • Virtual File System
    • Memory
    • Input
    • General Purpose Input Output
    • Serial
    • Bluetooth
      • Advanced Audio Distribution Profile
        • Bluez
        • Gstreamer
        • Alsa
      • Human Interface Device Game Controller
      • Serial Port Protocol
      • Arduino
    • WiFi
    • Audio
    • Camera
    • Block
    • Universal Serial Bus
      • Human Interface Device Mini Keyboard
      • Python USB
    • Inter Integrated Circuit
    • Inter Process Communication
    • Peripheral Component Interconnect
    • Clock
    • Modems
    • Networking
    • Power
    • Thermal
    • Graphics
    • LED
    • LIDAR
    • Printer
    • Serial Peripheral Interface
  • Application Development
    • C
    • C++
    • Cross Compile
    • Containers
    • Python
    • NodeJS
    • Cloud9
    • Data
    • Drone Code
    • Speech
      • Python
    • Radio Frequency
    • Bots
    • Artificial Intelligence
      • WitAi
      • MycroftAi
    • Games
    • Vision
      • Bar Codes
      • Google Cloud Vision API
    • Messaging
    • Entertainment
    • Home Assistants
    • Dashboards
    • IRC
    • Location
    • Facial Recognition
    • Software Defined Radio
    • REST
    • Notes
    • Security
    • HAM Radio
    • Automotive
    • Digital Signage
    • Photography
  • Debug
  • Wrap-Up
    • Online Training
    • Challenge
    • Tbd
  • SandBox
Powered by GitBook
On this page
  • Manual
  • Pywapi
  • Alternate Installation
  1. User Space
  2. Package Management Systems

Manual

PreviousAdvanced Packaging ToolNextConda

Last updated 7 years ago

Manual

Pywapi

Pywapi is a Python wrapper around different weather APIs

    root@edison:~# wget https://launchpad.net/python-weather-api/trunk/0.3.8/+download/pywapi-0.3.8.tar.gz
    --2016-03-19 18:51:24--  https://launchpad.net/python-weather-api/trunk/0.3.8/+download/pywapi-0.3.8.tar.gz
    Resolving launchpad.net... 91.189.89.223, 91.189.89.222
    Connecting to launchpad.net|91.189.89.223|:443... connected.
    HTTP request sent, awaiting response... 302 Moved Temporarily
    Location: https://launchpadlibrarian.net/166317636/pywapi-0.3.8.tar.gz [following]
    --2016-03-19 18:51:26--  https://launchpadlibrarian.net/166317636/pywapi-0.3.8.tar.gz
    Resolving launchpadlibrarian.net... 91.189.89.228, 91.189.89.229
    Connecting to launchpadlibrarian.net|91.189.89.228|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 25166 (25K) [application/x-tar]
    Saving to: 'pywapi-0.3.8.tar.gz.1'

    100%[======================================>] 25,166       139KB/s   in 0.2s   

    2016-03-19 18:51:27 (139 KB/s) - 'pywapi-0.3.8.tar.gz.1' saved [25166/25166]
    root@edison:~# tar zxvf pywapi-0.3.8.tar.gz
    pywapi-0.3.8/examples/pywapi-countries-example.py
    pywapi-0.3.8/setup.py
    pywapi-0.3.8/MANIFEST
    pywapi-0.3.8/examples/
    pywapi-0.3.8/examples/pywapi-noaa-example.py
    pywapi-0.3.8/examples/pywapi-example.py
    pywapi-0.3.8/pywapi.pyc
    pywapi-0.3.8/LICENSE
    pywapi-0.3.8/examples/pywapi-weather-com-example.py
    pywapi-0.3.8/pywapi.py
    pywapi-0.3.8/examples/pywapi-cities-example.py
    pywapi-0.3.8/CHANGELOG
    pywapi-0.3.8/README
    pywapi-0.3.8/
    pywapi-0.3.8/examples/pywapi-yahoo-example.py
    pywapi-0.3.8/examples/get-weather.py
    root@edison:~# cd pywapi-0.3.8
    root@edison:~/pywapi-0.3.8# ls
    CHANGELOG   MANIFEST    examples    pywapi.pyc
    LICENSE     README      pywapi.py   setup.py
    root@edison:~/pywapi-0.3.8# python setup.py build
    running build
    running build_py
    creating build
    creating build/lib
    copying pywapi.py -> build/lib
    root@edison:~/pywapi-0.3.8# python setup.py install
    running install
    running build
    running build_py
    running install_lib
    copying build/lib/pywapi.py -> /usr/lib/python2.7/site-packages
    byte-compiling /usr/lib/python2.7/site-packages/pywapi.py to pywapi.pyc
    running install_egg_info
    Writing /usr/lib/python2.7/site-packages/pywapi-0.3.8-py2.7.egg-info
    root@edison:~/pywapi-0.3.8# cd
    root@edison:~#

Alternate Installation

    root@edison:~/pywapi-0.3.8# python setup.py install --user
Pywapi Pip Homepage