semvec/pypi-packages huggingface dataset:
get-rolling-window 1.0.0
Create a rolling window from a 1-D numpy ndarray
License: MIT
Requires Python: >=3.7
Keywords: get-rolling-window

[![](https://travis-ci.org/kaelzhang/python-get-rolling-window.svg?branch=master)](https://travis-ci.org/kaelzhang/python-get-rolling-window)
[![](https://codecov.io/gh/kaelzhang/python-get-rolling-window/branch/master/graph/badge.svg)](https://codecov.io/gh/kaelzhang/python-get-rolling-window)
[![](https://img.shields.io/pypi/v/get-rolling-window.svg)](https://pypi.org/project/get-rolling-window/)
[![](https://img.shields.io/pypi/l/get-rolling-window.svg)](https://github.com/kaelzhang/python-get-rolling-window)

# get-rolling-window

Gets an array of `size`-period rolling windows from an numpy 1-D array

## Install

```sh
$ pip install get-rolling-window
```

## Usage

```py
import numpy as np
from get_rolling_window import rolling_window

array = np.arange(1, 8)

rolling_window(array, 3, 2)
# array([[1, 2, 3],
#        [3, 4, 5],
#        [5, 6, 7]])
```

## rolling_window(array, size, shift, stride) -> np.ndarray

```
|-------- size:3 --------|
|- stride:1 -|           |
|            |           |
1            2           3 --------|---
                                shift:2
3            4           5 --------|---

5            6           7
```

- **array** `np.ndarray` The 1-D numpy array. If the given array has more than one dimensions, it will be treated as a 1-D array.
- **size** `int` The size of the window.
- **shift?** `int=None` The `shift` argument determines the number of input elements by which the window moves on each iteration. Defaults to `size`.
- **stride?** `int=1` Determines the stride of the input elements. Defaults to `1`.

Returns `np.ndarray`

## License

[MIT](LICENSE)
octopus-energy 0.1.14
Python client for the Octopus Energy RESTful API
License: MIT
Requires Python: >=3.8,<4.0

# Octopus Energy Python API Client Library
A Client library for accessing the Octopus Energy APIs

***Warning: The API is currently undergoing active development and should be considered unstable,
even volatile until it reaches version 1.0.0***

[![PyPI version](https://badge.fury.io/py/octopus-energy.svg)](https://badge.fury.io/py/octopus-energy)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/octopus-energy)

[![Build Status](https://travis-ci.com/markallanson/octopus-energy.svg?branch=main)](https://travis-ci.com/markallanson/octopus-energy)
[![Coverage Status](https://coveralls.io/repos/github/markallanson/octopus-energy/badge.svg?branch=main)](https://coveralls.io/github/markallanson/octopus-energy?branch=main)

## Installation
`octopus-energy` can be installed from PyPI using pip:

```shell
pip install octopus-energy
```

## Code
The code is available in the [octopus-energy repository on GitHub][github]

## Features

* Get energy consumption from SMETS1 and SMETS2 electricity and gas meters.

## Quickstart
You can obtain your API token and meter information from the [Octopus Energy Developer 
Dashboard][octo dashboard].

### REST Client Wrapper
The REST client wrapper is a slim shim over the REST API that returns dictionaries as responses. 

Note that you should reference the [Octopus Energy API documentation][octo api] for detailed notes on the API responses  
and specifics around the request parameters.

```python
from octopus_energy import OctopusEnergyRestClient

api_token="sk_live_your-token"
mprn = "your-mprn"
serial_number = "your-meter-serial-number"

async with OctopusEnergyRestClient(api_token) as client:
  consumption = await client.get_gas_consumption_v1(mprn, serial_number)
```

[github]: https://github.com/markallanson/octopus-energy
[octo dashboard]: https://octopus.energy/dashboard/developer/
[octo api]: https://developer.octopus.energy/docs/api/
dataScrapper 1.0.3
A custom Data Scrapper to automate the manual copy paste excel work.
License: MIT
Keywords: data scrapper

This is python package.
It is used to scrap data from a site.
It is a custom package.

Steps to use package.
    - from dataReaderAndWriter import FillDataInExcel
    - dataScrapper1 = FillDataInExcel()

    - pathOfExcel = 'MBA_Raw_Data_Of_2K_7.xlsx' // Path of the required excel.
    - createExcel = f'2Last_Final_Test_{pathOfExcel}' // Name of created excel.
    - dataScrapper1.readAndWriteRequiredCellText(pathOfExcel,    columnOfRequiredElements=6,rowFromScrapingStarts=2,         finalCreatedExcelName=createExcel, totalThreads=20)

By writing the above code you can start scraping the required data.


Features of Data Scrapper Package.

1. Make the copy paste work simple.
2. Threads has used to make the work 5x faster.
3. Auto pause and auto start scrapping while disconnected or connected to internet.
4. Saves the new excel with the given name in same folder.
5. Can scrap and save excel of 2000 Rows in 525.55 seconds or in less than 9 minutes.