semvec/pypi-packages huggingface dataset:
setuptools-hacks.bypass-summary-newline 1.0.0
Disallow newlines in description fields
Requires Python: >=3.6

.. image:: https://img.shields.io/pypi/v/setuptools_hacks.bypass_summary_newline.svg
   :target: `PyPI link`_

.. image:: https://img.shields.io/pypi/pyversions/setuptools_hacks.bypass_summary_newline.svg
   :target: `PyPI link`_

.. _PyPI link: https://pypi.org/project/setuptools_hacks.bypass_summary_newline

.. image:: https://github.com/jaraco/setuptools_hacks.bypass_summary_newline/workflows/tests/badge.svg
   :target: https://github.com/jaraco/setuptools_hacks.bypass_summary_newline/actions?query=workflow%3A%22tests%22
   :alt: tests

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
   :target: https://github.com/psf/black
   :alt: Code style: Black

.. .. image:: https://readthedocs.org/projects/skeleton/badge/?version=latest
..    :target: https://skeleton.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/badge/skeleton-2021-informational
   :target: https://blog.jaraco.com/skeleton


Setuptools plugin that works around the failure when a package's Summary (aka description) may contain a newline. Install this alongside setuptools to bypass the error for this invalid input in legacy environments.
sat-mapping-cyborg-ai 0.0.37
A package to fetch sentinel 2 Satellite data from Google.
Requires Python: >=3.6

# Sentinel 2 Data Fetcher

<a href="https://pypi.python.org/pypi/sat-mapping-cyborg-ai" rel="nofollow">
<img alt="pypi" src="https://img.shields.io/badge/pypi-0.0.37-success">
</a>

## Installation

- Create a Virtual Environment and activate it.
    
    ```shell
    python3 -m venv venv
    . venv/bin/activate
    ```

- Install the Package via pip.

    ```shell
    pip install sat-mapping-cyborg-ai
    ```
  
## Usage

- Import the Library

    ```python
    from sat_mapping import FolderData, folders_time_frame, Paths, download
    ```
  
- Set the Path to where you want to store the Satellite Data.

    ```python
    paths = Paths("<ANY/VALID/PATH>")
  
    ```

- Start the Download. (Note: One year needs around 110 GB Disk Space.)
  > The download uses gsutil so if there is no gsutil configuration (.boto) in your home directory, 
  > gsutil config will be called to generate one.
  > Gsutil config asks the user for a token and a project id.

    ```python 
    download(paths, years=[2019], tiles=["32TMT"], months=[7])
    ```
  
- Load a folder.

    ```python
    folder_name = paths.folders[0]
    upper_left = (100000.0, 0.0)       # Postion on tile in [m]
    lower_right = (109800.0, 10000.0)  # Postion on tile in [m]
    data = FolderData(join(paths.data_path, folder_name), upper_left, lower_right)
    ```
  
- Display the image. (if matplotlib is not installed use <code>pip install matplotlib</code>)

    ```python
    import matplotlib.pyplot as plt
  
    picture = data.data[:, :, [3, 1, 2]]  # NIR, GREEN, BLUE
    fig: plt.Figure = plt.figure()
    plt.imshow(picture)
    plt.show()
    ```