rizqirizqi / scientific-name-fetcher Goto Github PK
View Code? Open in Web Editor NEWFetch plants and animals scientific name information from the internet
License: GNU General Public License v3.0
Fetch plants and animals scientific name information from the internet
License: GNU General Public License v3.0
I think this would be more useful and easier to use with a CLI.
For instance, you could have a default behavior that would look up a single organism and print the info to the terminal:
user@host:~$ python3 main.py hydnum repandum
Hydnum is a genus of fungi in the family Hydnaceae. They are notable for their unusual spore-bearing structures of teeth rather than gills...
The current behavior could be invoked with its own command line switch, such as -b, for batch mode.
user@host:~$ python3 main.py -b input.txt
This also lets the user specify a different input file.
Additionally, behavior options could be overwritten on the command line:
user@host:~$ python3 main.py --no-gbif-search --no-auto -b my_long_list_of_names.txt
Or something like that. The Python argparse library could be used to easily implement this.
If you think this would be worthwhile, I can submit a pull request.
Just add a simple unit test.
Currently scientific-name-fetcher
is using
It will be good if we add more information or validity checks so that scientific-name-fetcher
becomes more useful to the community.
Here are some APIs/Libraries that we may use:
The current settings are hardcoded in the main.py
file. It's better to move it to .env
file. We can use python-dotenv
to make it easier.
The current implementation use Names
as column name when parsing the input. We need to allow the user to specify the column name and just use Names
as default.
The User Interface can be made better if we add colored text to terminal
The current input file is using simple txt. Some people may have a CSV or Excel file, so we may need to allow them to directly use it as an input.
Given a local name (or maybe the location) of an animal/plant, get the scientific name and its corresponding information.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.