Skip to main content

A library that provides text concatenation from given files

Project description

MergerPy

https://img.shields.io/pypi/v/mergerpy.svg https://img.shields.io/pypi/pyversions/mergerpy.svg https://readthedocs.org/projects/mergerpy/badge/?version=latest https://codecov.io/gh/abdullahselek/MergerPy/branch/master/graph/badge.svg https://requires.io/github/abdullahselek/MergerPy/requirements.svg?branch=master

Linux

Windows

https://travis-ci.org/abdullahselek/MergerPy.svg?branch=master https://ci.appveyor.com/api/projects/status/5ci6rtapw64u0n1i?svg=true

Introduction

This library provides a fast text concatenation from files. It works with Python versions from 2.7+ and Python 3. The main aim to create this library is to create new passwords from given files which contain tokens. Then you can use btcrecover to get your password back.

Sample:

tokens.txt

A 1 e 2 a 3

B s h i r

E i 34 26 s

New created passwords.txt

ABE

ABi

AB34

AB26

ABs

Getting the code

The code is hosted at https://github.com/abdullahselek/MergerPy

Check out the latest development version anonymously with:

$ git clone git://github.com/abdullahselek/MergerPy.git
$ cd MergerPy

To install test dependencies, run:

$ pip install -Ur requirements.testing.txt

Running Tests

The test suite can be run against a single Python version which requires pip install pytest and optionally pip install pytest-cov (these are included if you have installed dependencies from requirements.testing.txt)

To run the unit tests with a single Python version:

$ py.test -v

to also run code coverage:

$ py.test --cov=mergerpy

To run the unit tests against a set of Python versions:

$ tox

Sample Usage

With using only one function:

from mergerpy import merger

merger.process('tests/resources/sample.txt')

Command Line Usage

With --input parameter:

python mergerpy.py --input tests/resources/sample.txt

Licence

MergerPy is released under the MIT license. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

mergerpy-0.2-py2.py3-none-any.whl (5.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file mergerpy-0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for mergerpy-0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1f672f58beb24aaf67ab25087bf55f1e8ee6f0a5588d1f9b0c4241926276cf66
MD5 1743b843a16192756a186bda6f1a10e2
BLAKE2b-256 9b80a1cb7eefa48c38be7c4eaa8ba35efbffc69119b2a70bb29616d446001a47

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page