semvec/pypi-packages huggingface dataset:
sc14npy 2.1.1
A Python interface to SC14N

A Python interface to Sc14n
==============================

The utility **Sc14n** performs the C14N transformation of a straightforward XML document.

The transformation can be of the complete document, a subset of the document, or the document *excluding* a given subset.
The subset can be specified either by its ID or tag name.

	>>> # Example 1. Excludes the first element with the tag name <Signature>
	>>> r = C14n.file2file("c14nfile1.txt", "input.xml", "Signature", Tran.OMITBYTAG)
	True
	>>> # Example 2. Finds and transforms the first element with the tag name <SignedInfo>
	>>> r = C14n.file2file("c14nfile2.txt", "input.xml", "SignedInfo", Tran.SUBSETBYTAG)
	True
	>>> # Example 3. Finds and transforms the third element with the tag name <Data>
	>>> r = C14n.file2file("c14nfile3.txt", "input.xml", "Data[3]", Tran.SUBSETBYTAG)
	True
	>>> # Example 4. Finds and transforms the element with attribute Id="foo"
	>>> r = C14n.file2file("c14nfile4.txt", "input.xml", "foo", Tran.SUBSETBYID)
	True
	>>> # Example 5. Finds and transforms the element with attribute ID="bar"
	>>> r = C14n.file2file("c14nfile5.txt", "input.xml", "ID=bar", Tran.SUBSETBYID)
	True
	>>> # Example 6. Excludes element with attribute Id="thesig"
	>>> r = C14n.file2file("c14nfile6.txt", "input.xml", "thesig", Tran.OMITBYID)
	True

For full details of all available methods and options, please see the `documentation <https://www.cryptosys.net/sc14n/pydocsc14n/index.html>`_.
	
Sc14n can be used with a cryptographic library to sign XML documents using XML-DSIG.
We recommend our cryptographic library **CryptoSys PKI** available from
https://cryptosys.net/pki/.

System requirements
-------------------

Windows platforms with Python 3. 
Requires the Windows program **Sc14n** to be installed on your system, available from
https://cryptosys.net/sc14n/.

To carry out the cryptographic signing examples  in ``test_sc14n-pki.py`` you must also install
**CryptoSys PKI** and **cryptosyspki.py** (see links below).

Downloads
---------

+ Sc14n: https://cryptosys.net/sc14n/
+ CryptoSys PKI: https://cryptosys.net/pki/
+ cryptosyspki.py: https://pypi.python.org/pypi/cryptosyspki/


Contact
-------

For more information or to make suggestions, please contact us at
https://cryptosys.net/contact/

| David Ireland
| DI Management Services Pty Ltd
| Australia
| 28 December 2018
PushedPy 0.0.2
A Python wrapper for the Pushed.co API
Requires Python: >=3.6

# PushedPy
PushedPy is a simple Python wrapper for the Pushed.co API, that allows you to send push notifications, in real-time, to iOS and Android devicesÂ + Chrome, Firefox and Safari browsers.

To send push notifications through Pushed.co, you need two things:
* Create an account onÂ https://pushed.co/
* If you want to send push notifications to a mobile device, you need to download the Pushed.co app to the device.

Pushed.co is a paid service, but they offer a sandbox plan that gives you the ability to send up to 1.000 messages pr. month, for free.

## Basic usage
To send a push notification in it's simplest form, simply do:

```
import Pushed

pushed_obj = Pushed("MyAppKey", "MyAppSecret")
r = pushed_obj.Notification("My message to send as a push notification")
print(r)
```

To send a push notification including an attached URL, add the URL when calling
the Notification function:

```
r = pushed_obj.Notification("My push message", "http://mysite.com")
```
vmail-manager 0.2
Handy cli interface to manage an vmail-sql-db.
Requires Python: >=3.6

# vmail-manager
![PyPI - Status](https://img.shields.io/pypi/status/vmail-manager?style=for-the-badge)
![PyPI](https://img.shields.io/pypi/v/vmail-manager?style=for-the-badge)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/vmail-manager?style=for-the-badge)
![GitHub](https://img.shields.io/github/license/domrim/vmail-manager?style=for-the-badge)

**DISCLAIMER: THIS APPLICATION IS STILL IN ALPHA/BETA STATE. DO NOT USE IT IN PRODUCTIVE ENVIRONMENTS IF YOU DON'T
WHAT YOU'RE DOING!**

`vmail-manager` is a command line to for managing a mail-server database based on the great [HowTo](https://thomas-leister.de/en/mailserver-debian-stretch) ([german version](https://thomas-leister.de/mailserver-debian-stretch/))
from [Thomas Leister](https://thomas-leister.de) written in Python3.

### Features
* manage the tables `domains`, `accounts` and `aliases` (`tlspolicies` support will maybe be added one day)
* supports multiple database backends (if your setup differs from the HowTo, i used postgresql instead of mariadb)

## Installation
### via pip
Install it with `pip3 install vmail-manager`

### manually
Clone this git or download the sources from pypi on your local machine and go into the directory.

_Optional: Create a venv and activate it._

Install all requirements with `pip3 install -r requirements.txt`

Run the tool with `./vmail-manager.py` (or add the folder to your path and create an alias to `vmail-manager`)

## Usage
Use the command help to get started:
```
vmail-manager --help
```

## Configuration
All config values stored in the config file can be overwritten with command line options.

Config files are formatted in [YAML](https://yaml.org/) and loaded via [confuse](https://pypi.org/project/confuse/)
The paths for the config file are (dependent on the OS):

* macOS: ``~/.config/vmail-manager/config.yaml`` and ``~/Library/Application Support/vmail-manager/config.yaml``
* Other Unix (Linux, BSD...): ``$XDG_CONFIG_HOME/vmail-manager/config.yaml`` and ``~/.config/vmail-manager/config.yaml``
* Windows: ``%APPDATA%\vmail-manager\config.yaml`` where the `APPDATA` environment variable falls
  back to ``%HOME%\AppData\Roaming`` if undefined

Some more paths are checked, if you wan't to store your config elsewhere look in the
[confuse documentation](https://confuse.readthedocs.io/en/latest/#search-paths) section about config paths.
oson 0.0.1
This is a package for encode/decode python objects with json.
Requires Python: >=3.6

### Desc

  It's a library for python users to encode python objects to json.Use it just like use default json library.

#### Install

```shell script
pip3 install oson
```

### Unusual Usage
```python
from datetime import datetime
import oson

class Student(object):
    name = 'Tom'
    age = 23
    update_at = datetime.now()
    __private = "don't see it"

s = Student()
print(oson.dumps(s))
```

### More
```python
from datetime import datetime
import oson

class Student(object):
    name = 'Tom'
    age = 23
    update_at = datetime.now()
    __private = "don't see it"

oson.set_config(time_format='%Y-%m-%d %H:%M:%S', date_format='%Y-%m-%d %H:%M:%S', private=False)

s = Student()
print(oson.dumps(s))
```

### Config

- private

  if you need to encode private column, set it True.

- time_format

  use it to transfer time from datetime to time string

- date_format

  just like 『time_format』

### GOOD LUCK!