Skip to content

Pringley/tokify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tokify

Read whitespace-separated tokens from a stream.

By default, Tokifier reads from standard input (or a file specified by argv[1]). Alternatively, pass the constructer a file object to read from a different stream.

>>> import tokify
>>> x = tokify.int()
>>> a, b = tokify.floats(2)
>>> strlist = tokify.strs(3)

Install

To install, clone the repository, then run setup.py:

git clone https://github.com/Pringley/tokify
cd tokify
python setup.py install

The last command may require administrative privileges or sudo.

About

Read whitespace-separated tokens from a stream

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages