semvec/pypi-packages huggingface dataset:
weathora 0.0.3
A Python CLI tool to fetch live weather data using OpenWeather API
Requires Python: >=3.6
Keywords: weather cli python-cli

# Weathora <!-- omit in toc -->

A simple Python CLI tool to fetch live weather data from any city using the OpenWeather API.

[![PyPI version](https://img.shields.io/pypi/v/weathora.svg?color=blue)](https://pypi.org/project/weathora/)
[![Python Versions](https://img.shields.io/pypi/pyversions/weathora.svg)](https://pypi.org/project/weathora/)
[![License](https://img.shields.io/github/license/bhatishan2003/asciigenator)](LICENSE)
[![CI](https://github.com/bhatishan2003/weathora/actions/workflows/python-app.yml/badge.svg)](https://github.com/bhatishan2003/weathora/actions/workflows/python-app.yml)
[![Build and Deploy Sphinx Docs](https://github.com/bhatishan2003/weathora/actions/workflows/sphinx.yml/badge.svg)](https://github.com/bhatishan2003/weathora/actions/workflows/sphinx.yml)

## Table of Contents <!-- omit in toc -->

-   [Installation](#installation)
    -   [Create and activate a virtual environment:](#create-and-activate-a-virtual-environment)
-   [Setup API Key 🔑](#setup-api-key-)
    -   [Step 1: Create an Account](#step-1-create-an-account)
    -   [Step 2: Get Your API Key](#step-2-get-your-api-key)
    -   [Step 3: Store the API Key](#step-3-store-the-api-key)
        -   [🔹 PowerShell](#-powershell)
        -   [🔹Bash](#bash)
-   [Usage](#usage)
    -   [Command Line Usage](#command-line-usage)

---

## Installation

-   From pip

    ```bash
    pip install weathora
    ```

-   Clone the repository:

    ```bash
    git clone https://github.com/bhatishan2003/weathora
    cd weathora
    ```

### Create and activate a virtual environment:

1. **Create a Virtual Environment [Optional, but recommended]**

    Run the following command to create a [virtual environment](https://docs.python.org/3/library/venv.html):

    ```bash
    python3 -m venv .venv
    ```

-   **Activate:**

    -   **Windows (PowerShell):**

        ```bash
        .venv\Scripts\activate
        ```

    -   **Linux/Mac (Bash):**

        ```bash
        source .venv/bin/activate
        ```

-   **Deactivate:**

    ```bash
    deactivate
    ```

-   **Install the package:**

    ```bash
    pip install .
    ```

-   **For development (editable mode):**

    ```bash
    pip install -e .
    ```

## Setup API Key 🔑

To use this project, you’ll need an API key from **OpenWeather**.

### Step 1: Create an Account

1. Go to [OpenWeather API](https://home.openweathermap.org/).
2. Sign up (or log in if you already have an account).

### Step 2: Get Your API Key

1. Navigate to your **API Keys** section in the OpenWeather dashboard.
2. Copy your **API Key**.

### Step 3: Store the API Key

Depending on your shell, use one of the following commands:

#### 🔹 PowerShell

```powershell
$Env:OPENWEATHER_API_KEY = "YOUR_SECRET_KEY"
```

#### 🔹Bash

```bash
export OPENWEATHER_API_KEY="YOUR_SECRET_KEY"
```

## Usage

### Command Line Usage

-   Following commands should be entered to get weather information.

    ```powershell
    weathora --city "Delhi"
    weathora --city "London"
    weathora --city "Jammu"
    ```
pybgcode-jneilliii 0.2.1
Prusa Block & Binary G-code reader / writer / converter
Requires Python: >=3.7

# pybgcode

**Note:** This is a fork of [prusa3d's libbgcode](https://github.com/prusa3d/libbgcode) simply to apply some unmerged fixes and deploy pypi releases until prusa3d decides to tag and release themselves.

# libbgcode

Prusa Block &amp; Binary G-code reader / writer / converter

# Description

A new G-code file format featuring the following improvements over the legacy G-code:
1) Block structure with distinct blocks for metadata vs. G-code
2) Faster navigation
3) Coding & compression for smaller file size
4) Checksum for data validity
5) Extensivity through new (custom) blocks. For example, a file signature block may be welcome by corporate customers.

**libbgcode** library is split into three API:
* [core](#core-api)
* [binarize](#binarize-api)
* [convert](#convert-api)

### core API

**core api** contains the basic definitions and functionality which allow to read a G-code file in binary format as defined into [SPECIFICATIONS](doc/specifications.md).

See [src/LibBGCode/core/core.hpp](src/LibBGCode/core/core.hpp)

### binarize API

**binarize api** contains the definitions and functionality which allow to write a G-code file in binary format as defined into [SPECIFICATIONS](doc/specifications.md).

See [src/LibBGCode/binarize/binarize.hpp](src/LibBGCode/binarize/binarize.hpp)

### convert API

**convert api** contains the functionality which allow to convert G-code files to/from binary format as defined into [SPECIFICATIONS](doc/specifications.md).

See [src/LibBGCode/convert/convert.hpp](src/LibBGCode/convert/convert.hpp)

# Specifications

See [SPECIFICATIONS](doc/specifications.md) for file format specifications.

# Building

See [BUILDING](doc/building.md) for building instructions.

# Command line application

See [BGCODE](doc/bgcode.md) for instructions.

# References

We would like to thank Scott Vokes (@atomicobject) for his work on heatshrink and
Scott Mudge (@scottmudge) for developing and maintaining MeatPack.
CosmoTech-Acceleration-Library 0.10.2
Acceleration libraries for CosmoTech cloud based solution development

# CosmoTech-Acceleration-Library
Acceleration library for CosmoTech cloud based solution development

## csm-data

`csm-data` is a CLI made to give CosmoTech solution modelers and integrators accelerators to start interacting with multiple systems.

It gives a first entrypoint to get ready to use commands to send and retrieve data from a number of systems in which a Cosmo Tech API could be integrated

## data-store

The data store gives a way to keep local data during simulations and comes with `csm-data` commands to easily send those data to a target system allowing to easily send results anywhere.


# Legacy part
The following description is tied to the legacy part of CoAL that is getting slowly moved to the new code organization before a 1.0.0 release

## Code organisation

In project root directory you'll find 4 main directories:

* CosmoTech_Acceleration_Library: containing all Cosmo Tech libraries to accelerate interaction with Cosmo Tech solutions
* data: a bunch of csv files on which samples are based
* samples: a bunch of python scripts to demonstrate how to use the library
* doc: for schema or specific documentation

## Accelerators

TODO

## Modelops library

The aim of this library is to simplify the model accesses via python code.

The library can be used by Data Scientists, Modelers, Developers, ...

### Utility classes

* `ModelImporter(host: str, port: int, name: str, version: int, graph_rotation:int = 1)` : will allow you to bulk import data from csv files with schema enforced (`samples/Modelops/Bulk_Import_from_CSV_with_schema.py`) or not (`samples/Modelops/Bulk_Import_from_CSV_without_schema.py`) (see [documentation](https://github.com/RedisGraph/redisgraph-bulk-loader#input-schemas) for further details)
* `ModelExporter(host: str, port: int, name: str, version: int, export_dir: str = '/')` : will allow you to export data from a model cache instance
* `ModelReader(host: str, port: int, name: str, version: int)` : will allow you to read data from a model cache instance ([object returned](https://github.com/RedisGraph/redisgraph-py/blob/master/redisgraph/query_result.py))
* `ModelWriter(host: str, port: int, name: str, version: int, graph_rotation:int = 1)` : will allow you to write data into a model instance
* `ModelUtil` : a bunch of utilities to manipulate and facilitate interaction with model instance (result_set_to_json, print_query_result, ... )
* `ModelMetadata`: will allow you to management graph metadata