A toy model to consume file input and output with simple calculation logic
Project description
file_gcd
Toy package to calculate GCD from file input.
standalone inputs and outputs
Call the program with -h
to get program call arguments. The program can consume an input filepath and output filepath. From lines in the input file, where PROPERTY starts with 000
, the GCD of the columns NUM1, NUM2, ... will be calculated, row by row. The output is printed into stdout if no output filename is provided.
python API
The package also provides a python API, use the source to figure out how.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
file_gcd-0.0.1.tar.gz
(4.5 kB
view details)
File details
Details for the file file_gcd-0.0.1.tar.gz
.
File metadata
- Download URL: file_gcd-0.0.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94d32f66a8c2f5cab894842b3605cb8235a57658cc68b2721412db978ae0b0cf |
|
MD5 | f0d57e4832e464fa8feb66499c8b6587 |
|
BLAKE2b-256 | 10d86a05863d798b63232c33d420d5f2c8218971e19efab613fbcf156bf21c2a |