r/Python • u/b10011 • Apr 12 '20
I Made This First published library
I just created my first PyPI-published python package while trying to do it "the right way" without any shortcuts (skipping on documentation, tests, or packaging conventions). I happened to see this post and thought that even though this is a tiny package, I could use more eyes on it.
GitHub: https://github.com/b10011/pyfstab
What is it? A library meant for parsing Linux /etc/fstab file (or /proc/mounts). A simplified version could be coded in a one-liner, but this one takes tries to take into consideration how the system actually behaves on edge cases such as 1:N or N:1 mounts.
What I think has to be done to this project:
Less functions for tests, more of pytest's parametrize
Some tests for Entry, even though it gets tested through Fstab
Add examples into the documentation
Any feedback would be appreciated, and don't be afraid mentioning about the smallest details either. Thanks!