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 hashes)

Uploaded Python 2 Python 3

Supported by

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