semvec/pypi-packages huggingface dataset:
nextcloud-notes-api 1.0.0
A Nextcloud Notes app API wrapper
License: MIT
Requires Python: >=3.7,<4.0
Keywords: nextcloud,notes,api,api-wrapper

# nextcloud-notes-api

[![Test](https://github.com/coma64/nextcloud-notes-api/workflows/Test/badge.svg)](https://github.com/coma64/nextcloud-notes-api/actions?query=workflow%3ATest)
[![Super-Linter](https://github.com/coma64/nextcloud-notes-api/workflows/Super-Linter/badge.svg)](https://github.com/coma64/nextcloud-notes-api/actions?query=workflow%3ASuper-Linter)
[![Coverage](https://img.shields.io/codecov/c/github/coma64/nextcloud-notes-api?color=%2334D058)](https://codecov.io/gh/coma64/nextcloud-notes-api)

A [Nextcloud Notes app](https://github.com/nextcloud/notes) API wrapper.

```py
from nextcloud_notes_api import NotesApi, Note

api = NotesApi('username', 'pass', 'hostname')

note = Note('Shopping List', 'Spam', favorite=True)
api.create_note(note)
```

_*nextcloud-notes-api is not supported nor endorsed by Nextcloud.*_

## Installation

```sh
pip install nextcloud-notes-api
```

## Documentation

The docs are available on [Github Pages](https://coma64.github.io/nextcloud-notes-api/).

## Contributing

Pull requests are welcome. For major changes,
please open an issue first to discuss what you would like to change.

Please make sure to update tests and documentation as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)
brad 0.2.0a0
Brad is a Python package for Bootstrap, permutation tests and other resampling functions.
License: MIT

# Brad

![gh-actions](https://github.com/tcbegley/brad/workflows/Tests/badge.svg)
[![codecov](https://codecov.io/gh/tcbegley/brad/branch/main/graph/badge.svg?token=aJUDsDeu1t)](https://codecov.io/gh/tcbegley/brad)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/brad)
![PyPI - License](https://img.shields.io/pypi/l/brad)

Brad is a Python package for Bootstrap, permutation tests and other resampling
functions.

## Contributing

See the
[contributing guide](https://github.com/tcbegley/brad/blob/main/.github/CONTRIBUTING.md)
for details on how to contribute, run tests, build `brad`, and make releases.
psycopg2-connection 0.1.1.1
Abstract away common patterns you might use in psycopg2.
License: MIT

<h1>
    Psycopg2 Connection
</h1>
<p>
    Psycopg2 Connection is a very light module which makes some abstractions on top of the psycopg2 package.
    The goal is to help you write SQL code right into your python program, without needing to worry about opening and closing connections to postgres. 
</p>
<h2>
    What does it do?
</h2>
<p>
    It makes it easier and quicker to fetch, execute and commmit to a postgres table. Also has methods to help copy to and from IO like files. 
</p>

<h2>
    Why and when to use this?
</h2>
<p>
    This package is for projects where you want to work directly with postgres, but you don't want to be openning and closing database connections within your code. 
</p>
<h2>
    How do you use it?
</h2>
<p>
    Import the PgDbConnector, Create a class that inherits from it and add your database's information.
</p>
<code>

    from psycopg2-connection import PgDbConnector

    class MyDbConnector(PgDbConnector):
        host = 'my-host'
        dbname = 'my-databases-name'
        user = 'my-username'
        password = 'my-password'

</code>
<p>
    You may find it conventient to place this "connector" in a seperate file and inherit from it. This way your database information can be kept secure.
</p>
<p>
    Now you can begin creating classes to interact with your postgres database. For example:
</p>
<code>

    from io import SringIO
    from other_file import MyDbConnector

    class PgConnectedThing(MyDbConnector):
        def __init__(self):
            sql = 'SELECT some_pk, some_data FROM my_table;'

            self.data = self.fetch_records(sql)

            self.new_table = str()

        def make_new_table(self):
            for row in self.data:
                foreign_key = row[0]
                some_new_data = extract_some_data(row[1])

                self.new_table += f'{foreign_key}\t{some_new_data}\n'

            io_table = StringIO(self.new_table)
            self.copy_from_file(
                io_table,
                'new_table',
                'foreign_key',
                'new_data'
            )
</code>
<p>
    This little example class initiates with data from your postgres table. It then loops over the data, extracts some data from the first row and appends the primary key from the first table and the new data to a string representaiton of a new table. Onse the loop is complete it transforms that string to an StringIO and uses copy_from_file to add the data to a new table. 
</p>
<p>
    It should be noted that we will have opened and closed 2 connections to our database if we call the make_new_table function, but we didn't have to see these connections in the code. The hope is that this way it can feel like we are just writing sql code into our python program, without needing to worry about the connections and without needing to wrap our heads around a whole new framework or ORM.
</p>
pysnow 0.7.17
ServiceNow HTTP client library
License: MIT
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*

```
 ______   __  __    ______    __   __    ______    __     __
/\  == \ /\ \_\ \  /\  ___\  /\ "-.\ \  /\  __ \  /\ \  _ \ \
\ \  _-/ \ \____ \ \ \___  \ \ \ \-.  \ \ \ \/\ \ \ \ \/ ".\ \
 \ \_\    \/\_____\ \/\_____\ \ \_\\"\_\ \ \_____\ \ \__/".~\_\
  \/_/     \/_____/  \/_____/  \/_/ \/_/  \/_____/  \/_/   \/_/
		- Python library for ServiceNow
```

[![image](https://travis-ci.org/rbw/pysnow.svg?branch=master)](https://travis-ci.org/rbw/pysnow)
[![image](https://coveralls.io/repos/github/rbw0/pysnow/badge.svg?branch=master)](https://coveralls.io/github/rbw0/pysnow?branch=master)
[![image](https://badge.fury.io/py/pysnow.svg)](https://pypi.python.org/pypi/pysnow)
[![image](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![image](https://pepy.tech/badge/pysnow/month)](https://pepy.tech/project/pysnow)


Documentation
---

The documentation is available at [https://pysnow.readthedocs.io](https://pysnow.readthedocs.io)


Development status
---

The development status of pysnow is stable; maintenence will be performed, but no new features added.

New features goes into [rbw/aiosnow](https://github.com/rbw/aiosnow): a modern, asynchronous library for interacting with ServiceNow.

Author
---

Robert Wikman \<rbw@vault13.org\>

Credits
---

Thank you [@contributors](https://github.com/rbw/pysnow/graphs/contributors), and [Jetbrains](http://www.jetbrains.com) for IDE licenses.