semvec/pypi-packages huggingface dataset:
mosspy 1.0.9
A Python client for Moss: A System for Detecting Software Similarity
Keywords: moss,similarity,detecting,plagiarism

# moss.py

A Python client for [Moss](http://theory.stanford.edu/~aiken/moss/): A System for Detecting Software Similarity

## Introduction

It is a Python interface for [Moss](http://theory.stanford.edu/~aiken/moss/) client. It was written for [AutoGrader](https://github.com/BilalZaib/AutoGrader) for handling similarity in Python assignment submission. 

It was written using the [original bash script/documentation](http://moss.stanford.edu/general/scripts.html) and its [PHP](https://github.com/Phhere/MOSS-PHP) dialect.

### Installation

```shell
pip install mosspy
```

### Usage

```python
import mosspy

userid = 987654321

m = mosspy.Moss(userid, "python")

m.addBaseFile("submission/a01.py")
m.addBaseFile("submission/test_student.py")

# Submission Files
m.addFile("submission/a01-sample.py")
m.addFilesByWildcard("submission/a01-*.py")

# progress function optional, run on every file uploaded
# result is submission URL
url = m.send(lambda file_path, display_name: print('*', end='', flush=True))
print()

print ("Report Url: " + url)

# Save report file
m.saveWebPage(url, "submission/report.html")

# Download whole report locally including code diff links
mosspy.download_report(url, "submission/report/", connections=8, log_level=10, on_read=lambda url: print('*', end='', flush=True)) 
# log_level=logging.DEBUG (20 to disable)
# on_read function run for every downloaded file
```

## Python Compatibility

* [Python](http://www.python.com) - v3

## Similar Project

* [ocaml-moss](https://github.com/Chris00/ocaml-moss) OCaml client 
* [cl-moss](https://github.com/wsgac/cl-moss) Common Lisp
* [moji](https://github.com/nordicway/moji) Java version
* [MOSS-PHP](https://github.com/Phhere/MOSS-PHP) PHP version
* [GUI for Windows](https://onedrive.live.com/?cid=b418048abfa842a7&id=B418048ABFA842A7%2136714&ithint=folder,.txt&authkey=!ACqFMI0kmA4L1mc) GUI for Windows

## License

This project is licensed under the MIT License - see the [LICENSE](https://github.com/soachishti/moss.py/blob/master/LICENSE) file for details
anitejb 1.0.0
A collection of custom tools and functions for @anitejb
Requires Python: >=3.8

# pip install anitejb

## Table of Contents
- [Overview](#overview)
- [Usage](#usage)
- [License](#license)
- [Contributions](#contributions)
    - [Approved List of Contributors](#approved-list-of-contributors)

## Overview
A collection of custom [Python](https://www.python.org/) tools and functions developed for me, by me, with <3.

Full disclosure: the functionality provided in this package may exist in various other forms across the depths of the internet. Everything here stems from a personal experience when I needed Python features that were not in-built/importable. I thought would be nice to have all of these things in one place, so here it is.

## Usage
The package is live on [PyPI](https://pypi.org/project/anitejb). I plan to use it, and you could too! All you need are three magic words: `pip install anitejb`

That being said, keep in mind that this package was developed solely for my own use, and quite literally everything could change at any moment with zero prior notice.

Unless (and even if) you are me, I would not recommend using this on large scale and/or somewhat important projects. You wouldn't want [this](https://xkcd.com/2347/) to happen.

## License
Copyright (c) 2021 Anitej Biradar. Released under the MIT License. See
[LICENSE](LICENSE) for details.

## Contributions
Due to the custom nature of this project, in order to contribute `code`, you must be on the **approved list of contributors** (shown below).

Things that don't require approval: questions, comments, concerns, thoughts, opinions, and cute animal pictures — reach out to [pip@anitejb.dev](mailto:pip@anitejb.dev)!

### Approved List of Contributors
- [Anitej Biradar](https://github.com/anitejb)

Requests to be added to this list will only be considered on the 20th of April every 48 years.

The 2021 cycle has concluded. Details regarding the next cycle will be published closer to the event.
opensslpy 0.0.2
run openssl via python
Requires Python: >=3.6

# openssltool

run openssl via python

**installation:**
```bash
$ python3 -m pip install opensslpy

```

**examples:**
```python
>>> from opensslpy import sym

>>> # encryption
>>> sym.encrypt("test.txt", out_file="file1.enc", iter=34, passwd="secret", cipher="bf")

>>> # decryption
>>> sym.decrypt("file1.enc", out_file="file1.txt", iter=34, passwd="secret", cipher="bf")

>>> # list all cipher
>>> sym.CIPHERS

```