Comments (18)
So basically a minimalistic application? Or just the minimal working data as mentioned yesterday?
from permaculture.
The second one please, so I can try working on other topics as the one you are in parallel.
from permaculture.
But not so much data, as data structure + basic access methods.
from permaculture.
Do you mean a way to select between different plants and view their data?
That would be pandas behind the scenes and python/kivy for the ui.
from permaculture.
This is our complete data from pfaf: "Family", "Genus", "Species", "CommonName", "GrowthRate", "HardinessZones",
"Height", "Width", "Type", "Leaf", "Flower", "Ripen", "Reproduction", "Soils",
"pH", "Preferences", "Tolerances", "Habitat", "HabitatRange",
"Edibility", "Medicinal", "OtherUses".
Our working data should include: Common Name, Height, Width, Growth Rate, Preferences, and maybe a combination of Edible / Medicinal Uses?
What do you think? Should we include more or less?
from permaculture.
Some combination of these will be pre-filtered when the design is initialized. Like hardiness zone, soil, maybe habitat and pH?
from permaculture.
So I think I will make a small data frame with these "essential" columns and using a few different plants to work on selecting and viewing them in the editor. Is that what you had in mind? Sorry, I do not completely understand.
from permaculture.
perfect.
I even just meant the first part, the pandas, for the 0.1 milestone, since that's the basics for the next steps... and I'd rather you do it than me so you'd be comfortable with its internal structure.
I can then use it as a pivot to contribute to other things while you work on a first UI prototype that you seem to prioritize (which makes sense, no critique, just a statement ;)
from permaculture.
Not a problem, I am working on it!
I am working on it in the notebooks directory to be able to see the dataframes.
from permaculture.
cool. never used jupyter notebooks before so that'll be new for me. just installed. what's the command line you use to run it ?
from permaculture.
Just jupyter notebook
or just jupyter notebook and then you can select which one to open
You run a cell using Shift + Enter or Control + Enter to add a cell beneath.
And you can use Shift + Tab to see the doc string
The only problem is that they can get messy quickly but as a beginner they are helpful
from permaculture.
That's what I tried but this leads me to an internal error, no log/explanation with further explanation on terminal.
likely some wrong lib version / dependency issue... I add #29 to consider using a dependency manager, but have no preference as to which.
In the meantime I'd like to try'n fix it locally. What do you run? I got ubuntu 20.04.5 + python3.8.10 + kv2.1.0 + kivyMD 1.1.1, all installed with latest pip3.
and jupyter notebook 6.5.2. but I guess/hope that last bit should not make a difference.
from permaculture.
I'm running python3.10.6 and the same kivy versions as you, on Ubuntu 22.04.1. Maybe I need to update Ubuntu?
I just updated jupyter and got this: jupyter-1.0.0 jupyter-console-6.4.4 nbclassic-0.5.1 notebook-6.5.2 qtconsole-5.4.0 qtpy-2.3.0
I had been running notebook 6.5.1
from permaculture.
My pip is 23.0, maybe that's the issue?
from permaculture.
Ok. I'll update my Ubuntu this weekend. Have been postponing it for some time. Hoping it fixes the issue.
You need not to change a thing, since it works 😜
from permaculture.
Sounds good, the class isn't ready to go yet so there's no rush. I just created a basic search function for our searchbar, and a MyDesign class to be used for each design. It will have an add_plant method for each plant that is dragged onto the grid (probably best called when the user presses "submit" or is ready to view their report, at which time a dataframe should be returned with x- and y-coords for plants, plant totals, etc.
I think the only necessary data here is the latin name as an identifier, the x- and y- coords, and the width and height.
Other info could be called from the main database when necessary.
from permaculture.
Seems perfect. We can then later add infos to that class when they become part of the core editor, such as the layer for a colour convention/ design filter to ease stratification / collision detection... if that ever gets on the roadmap.
from permaculture.
Basic structure is done. Not sure if it's what you were imagining. See notebooks/design_data_class.ipynb
from permaculture.
Related Issues (20)
- edit structure elements on background
- organise project roadmap
- organise online spreadsheet with test data HOT 3
- wireframe for design UI HOT 3
- wireframe for landing page UI
- Create svg images HOT 6
- pfaf scraper bugs HOT 2
- Create plant width estimator function HOT 2
- setup some dependency manager to ease development HOT 4
- Evaluate data quality of various attributes
- Allow for users to edit database
- plant_type has bugs that need to be fixed HOT 1
- Create Grid View as alternative to aerial photo background for arranging plants
- See if mapview is worth the effort
- create wireframe for filters/search box HOT 1
- Create basic search functionality
- Add a few filters to search
- Hi Nigel! HOT 2
- a few static file paths make code not portable HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from permaculture.