A simple CLI tool for converting logs from Poker Now games to other formats

Overview

🂡 Poker Now Log Converter 🂡

pypi python Build Status

A command line utility for converting logs from Poker Now games to other formats.

Introduction

Poker Now is a free online client for playing Texas Hold'em, Omaha PL and Omaha PL Hi/Lo poker.

Currently the game logs that can be downloaded from the Poker Now client are not supported by most poker analysis programs such as PokerTracker or Holdem Manager.

Poker Now Log Converter can be used to convert Poker Now logs into other formats for further analysis. (Currently supports only the PokerStars format)

This project was written for my personal use, and is not affiliated, endorsed or sponsored by the Poker Now team.

Features

  • Cross platform: Windows, Mac and Linux
  • Supports log files from Poker Now version 0.1.53 (06/24/2020) to present.
  • Run from the command line, or include as a python library. (Supports >=Python 3.8)
  • Outputs log files in PokerStars format. (OpenHH Format on the way)
  • Currently supports only Texas Hold'em cash games (Omaha and tournaments on the way)
  • Can adjust log output settings such as currency and timezone.
  • Use Interactive Alias Mode from the command line to easily rename players seen during poker hands to their known aliases.

Installation

1. Install via Pip:

$ pip install poker-now-log-converter

2. Install from Git:

$ git clone git://github.com/charlestudor/PokerNowLogConverter
$ python setup.py install

3. Use as a script without installing

$ git clone git://github.com/charlestudor/PokerNowLogConverter
python PokerNowLogConverter/src/poker_now_log_converter/main.py

Usage

As a command line tool:

$ python -m poker_now_log_converter -h

usage: __main__.py [-h] [-o OUTPUTDIR] [-H HERONAME] [-a ALIASES] [-c CURRENCY] [-tz TIMEZONE]
               [-f FILENAME | -d DIRECTORY] [-q | -i]

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUTDIR, --outputDir OUTPUTDIR
                        Specify output directory to save logs to. Defaults to current folder.
  -H HERONAME, --heroName HERONAME
                        Specify the name of the hero. This should match an alias or unique 'name @ id' of the player
                        who card are being dealt to.
  -a ALIASES, --aliases ALIASES
                        Specify a mapping of player ids to aliases. The format should
                        be:'player1=alias1,player2=alias2'
  -c CURRENCY, --currency CURRENCY
                        Set currency being used in games. Defaults to USD
  -tz TIMEZONE, --timezone TIMEZONE
                        Set timezone these games were recorded in. Defaults to ET
  -f FILENAME, --filename FILENAME
                        Specify PokerNow Log file to convert.
  -d DIRECTORY, --directory DIRECTORY
                        Specify directory containing PokerNow Log files to convert.
  -q, --quiet           Run converter tool without outputting to terminal.
  -i, --interactive     Use interactive mode to set the aliases of players seen in the log
  
$ python -m poker_now_log_converter -H CT -f ./PNLogExample.txt -c GBP -tz GMT -i -o ./OutputDir

As a library:

$ python
>>> from poker_now_log_converter.main import convert_pokernow_files
>>> convert_pokernow_files(hero_name="CT", input_filename="./PNLogExample.txt")

Contributing

If you find a bug please file an issue. Please upload an example log which is broken to aid in fixing.

License

MIT

Special thanks to Samuel Simões for creating Poker Now, which is a brilliant poker client.

You might also like...
Yts-cli-streamer - A CLI movie streaming client which works on yts.mx API written in python
Yts-cli-streamer - A CLI movie streaming client which works on yts.mx API written in python

YTSP It is a CLI movie streaming client which works on yts.mx API written in pyt

A command line application to analyse reports from TBC Warcraft Logs.

README A command line application to analyse reports from TBC Warcraft Logs. The application was written and tested with Python 3.9. Features Dumps an

Module for converting 2D Python lists to fancy ASCII tables. Table2Ascii lets you display pretty tables in the terminal and on Discord.
Module for converting 2D Python lists to fancy ASCII tables. Table2Ascii lets you display pretty tables in the terminal and on Discord.

table2ascii Module for converting 2D Python lists to a fancy ASCII/Unicode tables table2ascii 📥 Installation 🧑‍💻 Usage Convert lists to ASCII table

A Python module and command-line utility for converting .ANS format ANSI art to HTML

ansipants A Python module and command-line utility for converting .ANS format ANSI art to HTML. Installation pip install ansipants Command-line usage

Albert launcher extension for converting units of length, mass, speed, temperature, time, current, luminosity, printing measurements, molecular substance, and more
Albert launcher extension for converting units of length, mass, speed, temperature, time, current, luminosity, printing measurements, molecular substance, and more

unit-converter-albert-ext Extension for converting units of length, mass, speed, temperature, time, current, luminosity, printing measurements, molecu

Set of scripts & tools for converting between numbers and major system encoded words.
Set of scripts & tools for converting between numbers and major system encoded words.

major-system-converter Set of scripts & tools for converting between numbers and major system encoded words. Uses phonetics instead of letters to conv

Dead simple CLI tool to try Python packages - It's never been easier! :package:
Dead simple CLI tool to try Python packages - It's never been easier! :package:

try - It's never been easier to try Python packages try is an easy-to-use cli tool to try out Python packages. Features Install specific package versi

Simple CLI tool to track your cryptocurrency portfolio in real time.
Simple CLI tool to track your cryptocurrency portfolio in real time.

Simple tool to track your crypto portfolio in realtime. It can be used to track any coin on the BNB network, even obscure coins that are not listed or trackable by major portfolio tracking applications.

Comments
  • Possible issue with names with parentheses.

    Possible issue with names with parentheses.

    Hi thank you for creating this. I don't much coding experience at all.

    I am trying to run this.

    python3 -m poker_now_log_converter -H (eli)

    zsh: missing end of string

    Is there a way to get it to recognize names with ()?

    opened by elireznekervitz 15
  • Antes not being recognised/converted

    Antes not being recognised/converted

    I managed to convert a log to a text file using the tool but when attempting to upload to PT4 I get an "invalid pot size/winnings" error which seems to be caused when we introduced antes to the blind structure; the converter doesn't look like it reads the antes and when PT4 compares how much was put in the pot with how much was reported to have been won they don't match and so it fails to upload the hand. The antes were introduced at line 6172 of the csv file and the first error is reported at line #472 of the converted log (and every subsequent hand). I've attached both files.

    poker_now_log.csv ConvertedPNLog-2022-12-19-2002-25.0-50.0-Hold'em No Limit.txt

    I really appreciate what you've done here and am going to try to understand how it all works - I am completely new to programming - but if there's anything you can do to help that would be really useful.

    opened by Beermagic 5
Releases(v0.0.10)
slipit is a command line utility for creating archives with path traversal elements.

slipit is a command line utility for creating archives with path traversal elements. It is basically a successor of the famous evilarc utility with an extended feature set and improved base functiona

usd AG 35 Dec 23, 2022
CLTools provides various tools and command to use in the terminal.

CLTools provides various tools and command to use in the terminal. As of date, CLTools is only able to generate temporary email addresses and receive emails. There are plans to integrate more tools a

Ashwin Chugh 2 Feb 14, 2022
Plumbum: Shell Combinators

Plumbum: Shell Combinators Ever wished the compactness of shell scripts be put into a real programming language? Say hello to Plumbum Shell Combinator

Tomer Filiba 2.5k Dec 28, 2022
telescope.nvim is a highly extendable fuzzy finder over lists.

telescope.nvim is a highly extendable fuzzy finder over lists. Built on the latest awesome features from neovim core. Telescope is centered around modularity, allowing for easy customization.

nvim-telescope 8.4k Jan 05, 2023
RSS reader client for CLI (Command Line Interface),

rReader is RSS reader client for CLI(Command Line Interface)

Lee JunHaeng 10 Dec 24, 2022
CLI based diff viewer

Rich Diff CLI based diff viewer

Suresh Kumar 24 Nov 15, 2022
Command line interface for testing internet bandwidth using speedtest.net

speedtest-cli Command line interface for testing internet bandwidth using speedtest.net Versions speedtest-cli works with Python 2.4-3.7 Installation

Matt Martz 12.4k Jan 08, 2023
Install python modules from pypi from a previous date in history

pip-rewind is a command-line tool that can rewind pypi module versions (given as command-line arguments or read from a requirements.txt file) to a previous date in time.

Amar Paul 4 Jul 03, 2021
CLI tool for one-line installation of C++/CMake projects.

cmakip When working on virtual environments, Python projects can be installed with a single command invocation, for example pip install --no-deps . .

Artificial and Mechanical Intelligence 4 Feb 15, 2022
Interactive Python interpreter for executing commands within Node.js

Python Interactive Interactive Python interpreter for executing commands within Node.js. This module provides a means of using the Python interactive

Louis Lefevre 2 Sep 21, 2022
command line interface to manage VALORANT skins

A PROPER RELEASE IS COMING SOON, IF YOU KNOW HOW TO USE PYTHON YOU CAN USE IT NOW! valorant skin manager command line interface simple command line in

colinh 131 Dec 25, 2022
Interactive Redis: A Terminal Client for Redis with AutoCompletion and Syntax Highlighting.

Interactive Redis: A Cli for Redis with AutoCompletion and Syntax Highlighting. IRedis is a terminal client for redis with auto-completion and syntax

2.2k Dec 29, 2022
A minimal ascii-representation of your local weather.

Ascii-Weather A simple, ascii-based weather visualizer for the terminal. The ascii-art updates to match the current weather and conditions. Uses ipinf

Aaron R. 12 Jan 29, 2022
Chat with Rem in Terminal!

Chat with Rem in Terminal!

bariscodefx 1 Dec 19, 2021
A CLI/Shell supporting OpenRobot API and more!

A CLI/Shell supporting JeyyAPI, OpenRobot API and RePI API.

OpenRobot Packages 1 Jan 06, 2022
CLabel is a terminal-based cluster labeling tool that allows you to explore text data interactively and label clusters based on reviewing that data.

CLabel is a terminal-based cluster labeling tool that allows you to explore text data interactively and label clusters based on reviewing that

Peter Baumgartner 29 Aug 09, 2022
This a simple tool to query the awesome ippsec.rocks website from your terminal

ippsec-cli This a simple tool to query the awesome ippsec.rocks website from your terminal Installation and usage cd /opt git clone https://github.com

stark0de 5 Nov 26, 2022
GanTTY - Project planning from the terminal

GanTTY - Project planning from the terminal

Timeo Sam Pochin 161 Dec 26, 2022
dsub is a command-line tool that makes it easy to submit and run batch scripts in the cloud.

Open-source command-line tool to run batch computing tasks and workflows on backend services such as Google Cloud.

Data Biosphere 233 Jan 01, 2023
CLI/library to control FNIRSI DC Power Supply (DC-6006L, etc)

dc6006l - CLI/library to control FNIRSI DC Power Supply (DC-6006L, etc) What is this? FNIRSI DC6006L is a programmable DC power supply that is quite c

Taisuke Yamada 7 Sep 25, 2022