semvec/pypi-packages huggingface dataset:
pulumi-azure-static-website 0.0.5
A component to deploy static websites to Azure
Keywords: pulumi azure category/cloud kind/component web

# pulumi-azure-static-website

This component makes it easy to deploy a static website to Azure using any of the supported Pulumi programming languages.

## Usage

```typescript
import * as pulumi from "@pulumi/pulumi";
import * as website from "@pulumi/azure-static-website";

const site = new website.Website("site", {
    sitePath: "./site",
});

export const { originURL } = site;
```

```yaml
name: my-website
runtime: yaml
description: A static website build with pulumi-azure-static-website.

resources:
  site:
    type: azure-static-website:index:Website
    properties:
      sitePath: ./site

outputs:
  originURL: ${site.originURL}
```

## Input Properties

This component takes the following inputs.

- sitePath (string) - the root directory containing the website's contents to be served (required)
- withCDN (boolean) - provision a CDN to serve content
- error404 (string) - the default 404 error page
- index.html (string) - the default document for the site. Defaults to index.html
- domainResourceGroup (string) - The name of the resource group your domain is attached to
- dnsZoneName (string) - The name of the DNS zone that will be used to serve the static website. This must be set in order for this component to make the site accessible from a custom domain. See [Azure docs](https://docs.microsoft.com/en-us/azure/dns/dns-zones-records) for more info.
- subdomain (string) - The subdomain used to access the static website. If not specified will configure with apex/root domain of the DNS zone specified

## Outputs

- originURL - the Storage URL for the site
- cdnURL - the CDN URL for the site
- customDomainURL - the custom domain URL where the static website can be accessed
- resourceGroupName - the name of the resource group that was provisioned to contain the needed static website resources


## Notes:

- If you would like to serve your site from a custom domain, you need to configure a DNS zone in Azure and set the name of the zone using the `dnsZoneName` input property
- If a subdomain is not specified, the contents will be served from the apex. Serving the website over HTTPS is something that will need to be manually configured, as Azure will sign free certs for the subdomains, but not for the root domain.
- When destroying the site, you will need to manually delete the CNAME record that was provisioned for the domain (either using the console or CLI) in order for `pulumi destroy` to succeed.
granola 0.9.3
Generating Real-time Autonomous N-device Output without Linked Apparatuses
Requires Python: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3*,!=3.4*,>=2.7

# GRANOLA


GRANOLA (Generating Real-time Autonomous N-device Output without Linked Apparatuses) is a package aiming to mock Pyserial's Serial with the goal of enabling automated testing, faster QA, and faster delivery. The core of this package is the class
Cereal. Cereal allows you to define complicated command and response sequences, getters and setters for commands that set attributes
on your device (such as the serial number), a hook system to inject your own needed functionality, and a Serial Sniffer to capture serial
command output from a real device as the basis of mocking later.

warning!

    This project is still in it's beta, pre 1.0 stage with active development moving towards its 1.0 release.
    We try and not break previous interfaces when we move to new releases, but until it is ready for 1.0, it is still
    unstable.


## Package Installation

To install:

``pip install granola``

## A Simple Example
```pycon
>>> from granola import Cereal
>>> command_readers = {"CannedQueries": {"data": [{"1\r": "1", "2\r": ["2a", "2b"]}]}}
>>> mock_cereal = Cereal(command_readers)

>>> mock_cereal.write(b"2\r")
2
>>> mock_cereal.read(2)
b'2a'
>>> mock_cereal.write(b"1\r")
2
>>> mock_cereal.read(1)
b'1'
```

## Links

- Documentation: https://granola.readthedocs.io/en/stable/
- Examples: https://granola.readthedocs.io/en/stable/examples/examples_notebooks.html
- PyPI: https://pypi.org/project/granola/
- Source Code: https://github.com/metergroup/GRANOLA
- Issue Tracker: https://github.com/metergroup/GRANOLA/issues
fontname 1.0.0
Read and decode quirk encoded name records from OpenType fonts.
Requires Python: ~=3.7

========
fontname
========


fontname is a lib for reading and decoding quirk encoded name records from OpenType fonts.

It is adept at dealing with CJK fonts and has been tested on over 10000 fonts.


Installation
------------

``pip install fontname``

fontname requires Python 3.7 and above.


Usage examples
--------------

.. code:: python

    >>> import fontname
    >>> fontname.get_display_names("msyh.ttc")
    '微软雅黑 & Microsoft Yahei UI'

    >>> from fontTools import ttLib
    >>> tt = ttLib.TTFont("MO-UDShinGoSCGb4-Bol.otf")
    >>> fontname.decode_name(tt['name'].names[19])
    ('森泽UD新黑 Gb4 B', <IssueLevel.MARK: 1>, 'x_mac_simp_chinese_ttx')
    >>> tt.close()

    >>> tt = ttLib.TTFont("文鼎粗圆简.TTF")
    >>> fontname.decode_name(tt['name'].names[4])
    ('文鼎粗圆简', <IssueLevel.DATA: 2>, None)
    >>> tt.close()


License
-------

fontname is licensed under the MIT license.
reddutils-test 0.1.1
Small package for personal use
Requires Python: >=3.6

# Reddutils

This is ReddTea's small package compiling useful self-made functions for an astrophysical context.

# Overview
Reddutils contains many functions and classes for personal use.
Some of them may be of use for the community.

# Dependencies

This code makes use of:
  - Numpy
  - pandas
  - Scipy
  - PyAstronomy (http://www.hs.uni-hamburg.de/DE/Ins/Per/Czesla/PyA/PyA/index.html)
  - tqdm (https://pypi.python.org/pypi/tqdm)
  - tabulate
  - matplotlib.pyplot
  - ipywidgets
  - IPython.display
  
Most of them come with conda, if some are missing they can be easily installed with pip.

# Installation

In the console type in your work folder
```sh
pip install reddutils
```

# Usage

## Correlator
For a pandas dataframe or three-column table:
```sh
from reddutils import correlator as rc
import pandas as pd

df = pd.read_csv('data.csv')

cor = rc.correlator()
cor.display(df)
```

## Exodus
Use for visualising the NASA Exoplanet Archive:

```sh
from reddutils import exodus

exopop = exodus.NASA_Exoplanet_Archive()
exopop.display()
```


## Fourier Transform Visualiser
For visualising fourier transforms and the nyquist limit.

```sh
from reddutils import fourier

fou = fourier.fourier()
fou.display()
```


## Periodogram
For a pandas dataframe:
```sh
from reddutils import periodogram as rp
import pandas as pd

df = pd.read_csv('data.csv')

per = rp.LSP()
per.display(df)
```