semvec/pypi-packages huggingface dataset:
hydromill-amqp 0.1a9
AMQP Pub/Sub for the Hydromill project. This project is a direct port of https://github.com/ThreeDotsLabs/watermill-amqp.
License: MIT
Requires Python: >=3.8,<4.0

# Hydromill AMQP Pub/Sub

[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)

AMQP Pub/Sub for the Hydromill project. This project is a direct port of [Watermill AMQP Pub/Sub](https://github.com/ThreeDotsLabs/watermill-amqp).

## Usage

Example publisher:
```py
amqp_uri = "amqp://guest:guest@localhost:5672/"
amqp_config = await new_durable_pubsub_config(amqp_uri)

publisher = await new_publisher(amqp_config)

message = Message(payload=b"simple")
await publisher.publish("topic", messages=[message])
```

## References

[Watermill AMQP Pub/Sub](https://github.com/ThreeDotsLabs/watermill-amqp)

## License

[MIT License](./LICENSE)
archiveswurm 0.2.0
Yet another Python implementation of the ArchivesSpace API
License: MIT
Requires Python: >=3.8,<4.0
Keywords: ArchivesSpace

# archiveswurm

Yet another client / implementation of the ArchivesSpace API in Python.

## What's here?

Just the parts I've needed for my own projects.  It's not comprehensive (yet).

## Why?

Because I find all the others difficult for implementing in my own projects.
sharepoint4py 0.1.1
Python SharePoint Library
License: MIT
Keywords: SharePoint

sharepoint4py
==========

This is a continuation of deprecated project SharePlum from Jason Rollins

(THE DOCUMENTATION BELOW IS MOST FROM THE LEGACY LIBRARY AND WILL SOON BE UPDATED)


sharepoint4py is an easier way to work with SharePoint services. 
It handles all of the messy parts of dealing with SharePoint and allows you to write clean and Pythonic code.



Usage
-----

::

    from sharepoint4py import Site
    from requests_ntlm import HttpNtlmAuth

    auth = HttpNtlmAuth('DIR\\username', 'password')
    site = Site('https://abc.com/sites/MySharePointSite/', auth=auth)
    sp_list = site.List('list name')
    data = sp_list.GetListItems('All Items', row_limit=200)

Authenticate to Office365 Sharepoint
------------------------------------

::

    from sharepoint4py import Site
    from sharepoint4py import Office365

    authcookie = Office365('https://abc.sharepoint.com', username='username@abc.com', password='password').GetCookies()
    site = Site('https://abc.sharepoint.com/sites/MySharePointSite/', authcookie=authcookie)
    sp_list = site.List('list name')
    data = sp_list.GetListItems('All Items', row_limit=200)


Access REST API
------------------------------------

::

    from sharepoint4py import Site
    from sharepoint4py import Office365
    from sharepoint4py.site import Version

    authcookie = Office365('https://abc.sharepoint.com', username='username@abc.com', password='password').GetCookies()
    site = Site('https://abc.sharepoint.com/sites/MySharePointSite/', version=Version.v2016, authcookie=authcookie)
    folder = site.Folder('Shared Documents/This Folder')
    folder.upload_file('Hello', 'new.txt')
    folder.get_file('new.txt')
    folder.check_out('new.txt')
    folder.check_in('new.txt', "My check-in comment")
    folder.delete_file('new.txt')


Features
--------

- Reading and writing data to SharePoint lists using Python Dictionaries.
- Automatic conversion between SharePoint internal names and displayed names.
- Using Queries to filter data when retrieving List Items.
- Automatic conversion of data types.
- Supports Users datatype.
- Supports Office365 Sharepoint sites.
- Supports Folder and File operations with the REST API. (Requires SharePoint 2013 or newer)

Documentation
-------------

`Read the Docs <http://sharepoint4py.readthedocs.org/en/latest/>`_

Contribute
----------

- `Issue Tracker <https://github.com/dianasoares/sharepy/issues>`_
- `Source Code <https://github.com/dianasoares/sharepy>`_

Unit Tests
^^^^^^^^^^

This package uses python unittest.
To run the unit tests, first copy tests/test_settings.py as tests/local_test_seetings.py and edit the contents to point at your sharepoint.
Second export your sharepoint password as an environment variable 'TEST_PASSWORD'
Then from the root folder run:

::

    python -m unittest disover  # all tests
    python -m unittest tests.test_site  # all site tests

License
-------

This project is licensed under the MIT license.