semvec/pypi-packages huggingface dataset:
wagtail-quick-create 2.0.1
Offer links to the admin user to create content under sections quickly.
License: MIT

# Wagtail Quick Create

## Wagtail Quick Create offers shortcut links to create objects from models specified in your settings file.

A panel is added to the admin home, offering a type:

![Quick Create Panel example](./docs/images/dashboard.png)

Clicking a create link will offer a parent selection for the new item

![Parent selection example](./docs/images/create.png)

## Note on parent pages

Wagtailquickcreate needs the [`parent_page_types`](http://docs.wagtail.io/en/v2.5.1/reference/pages/model_reference.html#wagtail.core.models.Page.parent_page_types) set on the model you wish to include so it can successfully provide the parent page selection. If this isn't specified, you will likely see every page offered as a parent, this will not work as it's looking up pages using `wagtail.core.models.Page` and this core wagtail class has `is_creatable = False`

### Configuration

Install using pip:

```bash
pip install wagtail-quick-create
```

After installing the module, add `wagtailquickcreate` to your installed apps in your settings file:

```python
INSTALLED_APPS = [
    ...
    'wagtailquickcreate',
]
```

Also add the models you would like to create quick links for to your settings file as `'your_app_name.YourModelName'`:

EG:

```python
WAGTAIL_QUICK_CREATE_PAGE_TYPES = ['news.NewsPage', 'events.EventPage']
```

If you want the Quick Create links panel to _replace_ the wagtail summary panel, you can set this by adding the following to your settings

```python
WAGTAIL_QUICK_CREATE_REPLACE_SUMMARY_PANEL = True
```

If you would like to offer image and or document links, this can also be done by specifying the following in your settings:

```python
WAGTAIL_QUICK_CREATE_DOCUMENTS = True
WAGTAIL_QUICK_CREATE_IMAGES = True
```

## Contributing

We are happy to receive pull requests for bug fixes, improvements and new features. See [CONTRIBUTING.md](./docs/CONTRIBUTING.md) for more information.

## Credits/Authors

Concept created by Kate Statton - NYPR [@katestatton](https://twitter.com/katestatton)
beehiiv 0.2
Python wrapper for the BeeHiiv API
License: MIT
Keywords: BEEHIIV,API,WRAPPER

# beehiiv
Python wrapper for BeeHiiv API

#### Install
```
pip3 install beehiiv
```

### Example
```Python
import os
import beehiiv

PUBLICATION_ID = os.environ['BEEHIIV_PUBLICATION_ID']
API_KEY = os.environ['BEEHIIV_API_KEY']

bh = beehiiv.BeeHiiv(api_key=API_KEY, publicationId=PUBLICATION_ID)
subscriptions = bh.subscriptions.index(
  expand=["stats", "custom_fields"],
  limit=5
)
print(subscriptions)
```

## Classes and methods
```
BeeHiiv.email_blast.index - Retrieve all Email Blasts
BeeHiiv.email_blast.show - Retrieve an Email Blast

BeeHiiv.posts.index - Retrieve all posts belonging to a specific publication
BeeHiiv.posts.show - Retreive a single Post belonging to a specific publication
BeeHiiv.posts.destory - Delete or Archive a post.

BeeHiiv.publications.index - Retrieve all publications associated with your API key.
BeeHiiv.publications.show - Retrieve a single publication

BeeHiiv.referral_program.show - Retrieve details about the publication's referral program

BeeHiiv.segments.index - Retrieve information about all segments belonging to a specific publication
BeeHiiv.segments.show - Retrieve a single segment belonging to a specific publication
BeeHiiv.segments.delete - Delete a segment.
BeeHiiv.segments.expand_results - List the Subscriber Ids from the most recent calculation of a specific publication.

BeeHiiv.subscriptions.create - Create new subscriptions for a publication.  
BeeHiiv.subscriptions.index - Retrieve all subscriptions belonging to a specific publication
BeeHiiv.subscriptions.show - Retrieve a single subscription belonging to a specific publication
BeeHiiv.subscriptions.update - Update a subscriber 
BeeHiiv.subscriptions.delete - Delete a subscription.
```
sitTools 0.0.8
Useful function tools for SIT project use.
License: MIT
Requires Python: >=3.8

## README

### sitTools
###### 適用 Python 版本
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/sitTools)](https://pypi.python.org/pypi/sitTools/)

Useful tools module for S.I.T. project use.
本公司勝和科技 ( Success Integration Technology ) 內部專案常用函式集

### Installation ( 安裝套件 )
```bash
pip install sitTools
```

### Dependencies ( 相依套件 )
- numpy
- pandas
- configparser

### Module & Function

#### gTools
General using tool functions.
常用工具函式

#### cTools
Crawler tool functions
網路爬蟲相關工具函式

#### sTools
Security tool function
安全相關工具函式
pistar 2.5.0
pistar: functional testing with Python
License: MIT
Requires Python: >=3.6
Keywords: test

The ``pistar`` is a simple and lightweight function testing tool, using pistar testing framework can quickly
complete the development and execution of test cases.

Basic introduction
------------------
Command entry::

    $ pistar
    usage: pistar [options] <command> <args>

    positional arguments:
      run          Execute test cases
      generate     Generate interface test cases

    optional arguments:
      -v, --version  Show the version of pistar
      -h, --help     Show help message

Simple test example:

.. code-block:: python

    from pistar import BaseTestCase, teststep


    class ExampleTestCase(BaseTestCase):
        def setup(self):
            print('ExampleTestCase setup...')

        @teststep
        def step_basic_assert(self):
            self.assert_that(100).is_type_of(int, float).is_less_than(200)
            self.assert_that([1, 2, 3]).contains(4)

        def teardown(self):
            print('ExampleTestCase teardown...')


Execution and output::

    $ pistar run /test/example.py
    collecting...
    collected 1 test case

    --------------------------------------------------- ExampleTestCase start ---------------------------------------------------
    ExampleTestCase setup...
    [2021-08-23 16:57:54,121] [ERROR] [**/_pistar/utilities/testcases/case.py:142]
        @teststep
        def step_basic_assert(self):
            self.assert_that(100).is_type_of(int, float).is_less_than(200)
    >       self.assert_that([1, 2, 3]).contains(4)
                                         ^^^
    E   expect [1, 2, 3] to contain 4, but it did not

    /test/example.py:15 AssertionContainsException
    ExampleTestCase teardown...
    ---------------------------------------------------- ExampleTestCase end ----------------------------------------------------

    ===================================================== test summary info =====================================================
    FAILED /test/example.py::ExampleTestCase
    ===================================================== 1 failed in 0.03s =====================================================

Features
--------

- Test cases can be flexibly composed by pre step, test step and post step

- Various test step usage, such as timeout control and parameterization

- Rich streaming assertion and error log output

- Support session level pre and post conditions

- Compatible with pytest case execution

- Automatic generation of basic test cases

Some features of pistar refer to unittest and pytest.

License
-------

Copyright (c) Huawei Technologies Co., Ltd. 2020-present.

Distributed under the terms of the MIT license, pistar is free software.
lkfmt 0.2.2
All-in-one Python code formattor which is tailored of `black` + `isort` + `autoflake` for myself taste.
License: MIT
Requires Python: >=3.8,<4.0

# Likianta Flavored Formatter

`lkfmt` (Likianta flavored formatter) is an integration of `black` + `isort` +
`autoflake` with pre-defined settings to reformat my Python script code.

## Features

- `black` + `isort` + `autoflake` integration
- out-of-box settings
- one command to drive
- additional format styles by lk-flavor (*work in progress*)
    - keep indents on empty lines
    - ensure newline at end of file
    - merge one-line `if`/`for` statements
    - align `:` in dict key-value pairs
    - align `=` in multi-line assignments
    - **tweak `black` styles to balance the visual weight**
    - use `# nofmt` to skip formatting (like `# noqa`)

## Installation

<strike><code>pip install lkfmt</code></strike> (not yet published)

```sh
pip install git+https://github.com/likianta/lkfmt.git
```

## Usage

use in command line:

```sh
# after installation, there's an executable named `lkfmt`.

# get help
lkfmt -h

# format files in current dir
lkfmt .
# it can also be shorthand as `lkfmt` (no argument)

# format files in current dir and subdirs recursively
lkfmt -r .

# format one file
lkfmt $file

# show difference (but not inplace file)
python -m lkfmt show-diff $file
```

## Screenshots

![](./.assets/125758.png)

![](./.assets/125742.png)

![](./.assets/125801.png)