semvec/pypi-packages huggingface dataset:
portent 0.0.2
Python package providing horrifying welcome messages for your application
Requires Python: >=3.6
Keywords: welcome

# portent
Python package providing horrifying welcome messages for your application.

##  Installation

portent is available on the Python Package Index (PyPI).

```bash
pip install portent
```

It requires python version 3.6 or later.

## Usage

Simply place something like the following in your top-level application
file, and portent will display a helpful, motivational welcome message
once per session.

```python
import portent
portent.welcome(name='My application', version='2.3.6')
```

![](static/img1.png)

Pass the theme argument to the `welcome` function to use a different
greeter:
- basic
- finance
ogc-plugins-juju 1.0.39
ogc-plugins-juju, a ogc plugin for working with juju

[![Build Status](https://travis-ci.org/battlemidget/ogc-plugins-juju.svg?branch=master)](https://travis-ci.org/battlemidget/ogc-plugins-juju)

# ogc-plugins-juju

juju plugin for ogc

# usage

In a ogc spec, place the following in your plan:

```yaml
meta:
  name: Validate Charmed Kubernetes
  description: |
    Runs validation test suite against a vanilla deployment of Charmed Kubernetes

plan:
  - &BASE_JOB
    env:
      - SNAP_VERSION=1.16/edge
      - JUJU_DEPLOY_BUNDLE=cs:~containers/charmed-kubernetes
      - JUJU_DEPLOY_CHANNEL=edge
      - JUJU_CLOUD=aws/us-east-2
      - JUJU_CONTROLLER=validate-ck
      - JUJU_MODEL=validate-model
    install:
      - pip install -rrequirements.txt
      - pip install -rrequirements_test.txt
      - pip install git+https://github.com/juju/juju-crashdump.git
      - sudo apt install -qyf build-essential
      - sudo snap install charm --edge --classic
      - sudo snap install juju --classic
      - sudo snap install aws-cli --classic
    before-script:
      - juju:
          cloud: $JUJU_CLOUD
          controller: $JUJU_CONTROLLER
          model: $JUJU_MODEL
          bootstrap:
            debug: no
            replace-controller: yes
            model-default:
              - test-mode=true
          deploy:
            reuse: yes
            bundle: $JUJU_DEPLOY_BUNDLE
            overlay: |
              applications:
                kubernetes-master:
                  options:
                    channel: $SNAP_VERSION
                kubernetes-worker:
                  options:
                    channel: $SNAP_VERSION
            wait: yes
            channel: $JUJU_DEPLOY_CHANNEL
    script:
      - |
        #!/bin/bash
        set -eux
        pytest jobs/integration/validation.py \
             --cloud $JUJU_CLOUD \
             --controller $JUJU_CONTROLLER \
             --model $JUJU_MODEL
    after-script:
      - juju-crashdump -a debug-layer -a config -m $JUJU_CONTROLLER:$JUJU_MODEL
      - juju destroy-controller -y --destroy-all-models --destroy-storage $JUJU_CONTROLLER
```
google-api-client 3.14.159265359.post1
A library for the Google API. Which one? We don't know.o
Requires Python: >= 3.7

# Google API Client

Client for the Google API. Which one? We don't know!

# Installing

Run: `pip install google-api-cient`

Be careful not to run `pip install google-api-python-client` those are the smelly official API libraries. All the cool kids use this one.

# Usage

Google API Client offers one API function: `get_google_dot_com`. This function requests `https://www.google.com` and returns the content. You can use this for all of your Google API interactions since this is the only service you can be sure Google wont have deprecated tomorrow.

This function offers a single argument `use_ssl`, it defaults to true. Don't turn it off. Your ISP might inject ads and we cannot be held responsible for this breaking API functionality.
pymodorino 0.0.18
Very simple and cross-platform (hopefully) pomodoro timer script...
Requires Python: >=3.8.0
Keywords: pomodoro timer,pomodoro,timer

# Pymodoro timer

> Ever heard of a pymodoro timer? Probably yes.
> Should i explain what it is? Probably not.

Very early development version. I'm just learning python, please be patient with my skills at this time :)

## How to use
- Clone the repository
- run `./pymodoro.py`

```
optional arguments:
  -h, --help   show this help message and exit
  -w 25        Working minutes
  -b 5         Break minutes
  ```
  
  ### Todo:
  - fix publishing
  - Refactor
  - Add more notification sounds (different sounds for break and working states)
  - add some statistics
  - (?)
wagtail_mautic 0.2.1
Adds Mautic Marketing Automation into a Wagtail site with a few simple template tags
Requires Python: >=3.6
Keywords: wagtail, mautic

# wagtail-mautic

Adds Mautic Marketing Automation into a Wagtail site with a few simple template tags

## Installation

Install using pip

    pip install wagtail-mautic

Now add the application `wagtail_mautic` to your Django applications. In your _base.py_ settings file:

```python
    INSTALLED_APPS = [
        ...
        "wagtail.contrib.settings",
        "wagtail_mautic",
        ...
        ]
```

Add the site settings to your context processors:

```python
    'OPTIONS': {
        'context_processors': [
            ...

            'wagtail.contrib.settings.context_processors.settings',
        ]
    }
```

Migrate your models:

    python manage.py migrate

## Add your Mautic setup information

When you spin up your Wagtail app, you should now see a new Mautic settings in the Wagtail admin screen.

![Navigation in Wagtail admin](screenshots/settings_selector.png)

Add in the URL for your Mautic instance (including the https://) to the **Mautic Url** field.

![Mautic settings](screenshots/mautic_settings.png)

## Add Mautic page tracking

The template tag `{% mautic_tracker %}` can be added to any page and this will add in the Mautic tracking code. The tag will only add text when the Mautic URL has been added in the settings.

To install site-wide add this to your _base.html_ template or similar.

Recommended placement is to add the tracking code as the last item in the `<body> ... </body>` tag section.

## Add Mautic prefetch tags

For faster loading of pages, the Mautic site can be set up with a pre-fetch `<link>` in the header.  To add this to your site, add the `{% mautic_prefetch %}` tag within the `<head></head>` of your templates.
helloworldsupreme 1.0.2
The most universal piece of code. Ever.

# HelloWorldSupreme

### **`pip install helloworldsupreme`**

Welcome to HelloWorldSupreme, a simple, *yet powerful* Python library with a **HUGE** featureset. 

Are you tired of writing those same old lines of code? Well, fear not! This module is for you!

## Functions

This library has a basic function that will help you out loads when writing code.

### sayhello
```
sayhello(name=None, withemoji=None)
```
This has 2 parameters, `name` and `withemoji`. Example use:
```
import helloworldsupreme as hws

hellomsg = hws.sayhello('StoopidSam', withemoji=True)
print(hellomsg)
```
This will return:
```
Hello, StoopidSam! 🌎
```
#### Parameter: `name`
This is a string, and can be left blank to return a simple `Hello, world!` message.

#### Parameter: `withemoji`
This is a bool value (True/False). Leave blank for no emoji to be added on to the end.

## Enjoy!
I hope you enjoy using this code. If you want to see the license, go here: https://github.com/StoopidSam/HelloWorldSupreme/blob/master/LICENSE.txt. Any questions DM me on Discord (StoopidSam#0001) or open an issue: https://github.com/StoopidSam/HelloWorldSupreme/issues/new.
drf-spreadsheets-jpaavola 1.0.0
A Django REST Framework package allowing views to be rendered as CSV or XLSX
Requires Python: >=3.6

# Django REST Spreadsheets renderer

This project pulls work from [drf-renderer-xlsx](https://github.com/wharton/drf-renderer-xlsx) and 
[django-rest-framework-csv](https://github.com/mjumbewu/django-rest-framework-csv) aiming to combine these renders into
a single package while fixing some of their individual quirks.

## Differences
An important use case for file export in a RESTful API is to allow the user to manipulate data using their own tools. 
While pagination is useful for endpoints where you don't need to see all the data, they don't make sense for these types
of file export. This project will handle pagination by ignoring it, serializing the entire queryset.

---

In addition, to enable CSV/XLSX on an endpoint, all that needs to be done is adding a single mixin like such:

```lang=py
from drf_spreadsheets.mixins import SpreadsheetMixIn

class YourViewSet(SpreadsheetMixIn, ModelViewSet):
    ...

```

This instead of manually overriding renderer_classes, or adding the renderer to the defaults. The former is clunky and 
can lead to unwanted behavior and the latter is rarely necessary since there will be many endpoints that don't need
spreadsheet exports in most projects.

---

One regression is in XLSX styling. For the initial version of this package, no styling can be applied to generated 
XLSX files. Since this is not an essential feature for most export use-cases, it has been left as a potential future feature