semvec/pypi-packages huggingface dataset:
aztfgen 0.1.3
Generate terraform config from deployed azure resources.
License: MIT
Requires Python: >=3.5

Azure Terraform Generate
========================

Generate terraform config from deployed azure resources.

Made a bunch of stuff in azure but wish you’d used terraform? Now’s your
chance to fix the mistakes of past-you.

Work in progress
----------------

This is currently just a proof of concept type thing.

Requirements
------------

-  Python 3.5+
-  The Azure 2.0 CLI (The python based ``az`` one).

In order to dodge API calling and avoid having to deal with azure
authentication, this project abdicates all responsibility for that
functionality by shelling out to the azure CLI.

Install
-------

.. code:: sh

    pip3 install aztfgen

Usage
-----

The arguments are intended to match whatever you’ll also need to pass to
``terraform import`` to take care of getting the current state into
terraform.

::

    aztfgen <terraform-address> <resource-id>

License
-------

MIT
rewrapped 0.5.0
Class wrappers for regular expressions with proper fields for match groups.
License: MIT

rewrapped
=========

.. image:: https://travis-ci.org/hansi-b/rewrapped.svg?branch=master
    :target: https://travis-ci.org/hansi-b/rewrapped

.. image:: https://codecov.io/gh/hansi-b/rewrapped/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/hansi-b/rewrapped

.. image:: https://badge.fury.io/py/rewrapped.svg
   :target: https://badge.fury.io/py/rewrapped

For the time being, more documentation is at
`this project's github pages <https://hansi-b.github.io/rewrapped/>`_.

rewrapped lets you wrap your regular expressions in classes
with match groups flexibly mapped to named fields.

A simple example:

.. code:: python

    from rewrapped import ReWrap, matched
    class Inventory(ReWrap):
        matchOn = "([0-9]+)\s+(\S+)"
        count = matched.g1.asInt
        item = matched.g2

This will yield match results which map the first match field
to the integer ``count``, and the second to the string field ``item``:

.. code:: python

      >>> i = Inventory.search("there are 45 oranges left")
      >>> i.count
      45
      >>> i.item
      'oranges'
      >>>
selenium-page-elements 0.1.6
A small library for simplifying page objects.
License: MIT
Keywords: selenium page objects

# Selenium Page Elements

[![Build Status](https://travis-ci.org/jenterkin/selenium-page-elements.svg?branch=master)](https://travis-ci.org/jenterkin/selenium-page-elements)
[![codecov](https://codecov.io/gh/jenterkin/selenium-page-elements/branch/master/graph/badge.svg)](https://codecov.io/gh/jenterkin/selenium-page-elements)
[![PyPI version](https://badge.fury.io/py/selenium-page-elements.svg)](https://badge.fury.io/py/selenium-page-elements)

## Installation
```
$ pip install selenium-page-elements
```

## Overview
Selenium Page Elements is a thin wrapper around the Selenium python library that aims to make Page Objects quick and easy to create and maintain by allowing you to define and interact with web elements like object attributes.

```python
# Page Object
from selenium.webdriver.common.by import By
from page_elements import Element, InputField, CheckBox


class LoginPage:
    url = "http://localhost/login"

    # Define your elements in your class.
    username = InputField(By.ID, 'username')
    password = InputField(By.ID, 'password')
    stay_signed_in = CheckBox(By.ID, 'stay-signed-in')
    login_button = Element(By.XPATH, '//button[contains(text(), "Login")]')

    def __init__(self, driver):
        # Ensure that your page object has a Selenium webdriver in `self.driver`.
        self.driver = driver

    def open(self):
        self.driver.get(LoginPage.url)

    def login(self, username, password, stay_signed_in=True):
        # Use your elements just as you would any Python variable.
        self.username = username
        self.password = password
        self.keep_me_signed_in = stay_signed_in
        self.login_button.click()
```

The element classes take in a Selenium `By` object and a selector, so you can select any element you would be able to with Selenium.

To check the value of an element simply call the element with `.value()`
```python
    login_page = LoginPage(driver)
    login_page.username = 'mmario'
    print(login_page.username.value()) # prints 'mmario'
```

The reason you have to call `.value()` on the element is because Selenium Page Elements simply returns a monkey-patched Selenium `WebElement` instance. The reason for returning the monkey-patched instance is to give you the flexibility that the Selenium library already gives you, while giving you a shortcut for giving you what you want most of the time. For instance, you can check to make sure that an element is visible and then get the value.
```python
    assert login_page.username.is_displayed()
    assert login_page.username.value() == 'mmario'
```
pknulms 1.0.2
Pukyong National University Smart-LMS Python client
License: MIT

pknulms-py
==========

부경대학교 Smart-LMS Python 클라이언트

사용법
------

.. code:: python

    import sys

    from pknulms import LMSClient

    lms = LMSClient()

    if not lms.login('사용자 아이디', '사용자 비밀번호'):
        print('로그인에 실패했습니다.')
        sys.exit(0)

    if lms.send_note('받는 사람 아이디', '제목', '내용'):
        print('쪽지 전송 성공')
    else:
        print('쪽지 전송 실패')

    lms.logout()