A simple string transcriptor for a code interview
Project description
README
What is this repository for?
- This repository contains a single package and calling script which answers a pre-screening code question for NCSA's Senior Research Software Engineer position
- Version 0.0.1
- Question - as written:
- Write a program in any programming language to do the following:
a. Replace all the vowels in the string “National Center for Supercomputing Applications” by their corresponding order number in alphabetical sequence (a with 1, e with 5, etc).
b. Print the resulting string.
c. Print the total number of consonants in the given string.
- I have treated part C as, when referring to the "given" string, referring to this string: “National Center for Supercomputing Applications”
Set-up, Installation, Execution
- Summary of set up
- This repository can be installed via local command lines by executing this command from the root of the repository:
python -m pip install .
- Configuration
- the simple package ncsatranscriptor must be installed prior to running the transcribe-string.py script
- Dependencies
- Python 3.12
- How to run tests
- From the root directory of the respository:
python .\src\ncsatranscriptor\tests\test_ncsatranscriptor.py
- Get guidance on code execution
python .\bin\transcribe-string.py --help
- Execute the script to generate the required output by question 4, above:
python .\bin\transcribe-string.py -s "National Center for Supercomputing Applications" -m basic
Author
- Henry Priest - contact hd.priest@outlook.com
Links
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ncsatranscriptor-0.0.1-py3-none-any.whl.
File metadata
- Download URL: ncsatranscriptor-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c579c84616361a44d8c86709a4bf72e3f32e39cc0b9d0568607ac55657f9fcf
|
|
| MD5 |
f45b12850dd57213653db71c0f507e7a
|
|
| BLAKE2b-256 |
1683756f0e4b36321bca884f93612fb11099057f4f69614ba0e1e4896986c350
|