You're right, the directory structure may not be obvious to non-developers. My contribution is in this folder.
PS: yes, it's related to MicroPython.
Search found 10 matches
- Mon Jan 10, 2022 8:18 pm
- Forum: General Discussion and Questions
- Topic: datetime string convert to datetime
- Replies: 5
- Views: 10039
- Sun Jan 09, 2022 8:59 pm
- Forum: General Discussion and Questions
- Topic: datetime string convert to datetime
- Replies: 5
- Views: 10039
Re: datetime string convert to datetime
If you don't mind experimental code, you can try out my datetime branch. It's stable from my point of view: it's just waiting for a PR merging. You can find the doc too.
- Wed Oct 06, 2021 11:27 am
- Forum: Development of MicroPython
- Topic: Proposal for new module `suntime`
- Replies: 5
- Views: 10426
Re: Proposal for new module `suntime`
I just pushed commit 732b15df with the new module implementation. I rebased it on `datetime` branch (see my corresponding thread) because it depends on that.
I'd be glad if some (@pythoncoder) could review the documentation as well, because I'm not a native English speaker.
I'd be glad if some (@pythoncoder) could review the documentation as well, because I'm not a native English speaker.
- Tue Sep 28, 2021 9:24 pm
- Forum: Development of MicroPython
- Topic: Proposal for new module `suntime`
- Replies: 5
- Views: 10426
Re: Proposal for new module `suntime`
The pull request was denied because of the license. I understand that. I started from scratch with the formula provided by Wikipedia's Sunrise equation and it works. I'll provide a new clean and neat code under MIT license in the following days. What I don't understand is why a module as this couldn...
- Mon Sep 27, 2021 7:23 pm
- Forum: Development of MicroPython
- Topic: Proposal for new module `suntime`
- Replies: 5
- Views: 10426
Proposal for new module `suntime`
- Mon Sep 27, 2021 9:03 am
- Forum: Development of MicroPython
- Topic: datetime porting proposal
- Replies: 9
- Views: 25954
Re: datetime porting proposal
Thanks for your interest, much appreciated. As stated in the documentation I wrote for the module, the two main constraints for `timedelta` type are: Minimum resolution is 1 second, instead of 1 microsecond. Maximum delta spans over ±24855 days (±2^31 seconds or ±68 years) instead of ±999999999 days...
- Sun Sep 26, 2021 8:57 pm
- Forum: Development of MicroPython
- Topic: datetime porting proposal
- Replies: 9
- Views: 25954
- Fri Sep 24, 2021 3:47 pm
- Forum: Development of MicroPython
- Topic: datetime porting proposal
- Replies: 9
- Views: 25954
Re: datetime porting proposal
I am the author of the that code and as such I can choose and change the licensing model (I believe).
- Thu Sep 23, 2021 9:38 pm
- Forum: Development of MicroPython
- Topic: datetime porting proposal
- Replies: 9
- Views: 25954
Re: datetime porting proposal
Thanks Peter for you reply.
I'm almost done with the porting. It was easy and I managed to improve the library. For a glimpse, see my github repo.
Regarding the licensing, I don't mind adopting the MIT License.
I'm almost done with the porting. It was easy and I managed to improve the library. For a glimpse, see my github repo.
Regarding the licensing, I don't mind adopting the MIT License.
- Sun Sep 19, 2021 8:31 pm
- Forum: Development of MicroPython
- Topic: datetime porting proposal
- Replies: 9
- Views: 25954
datetime porting proposal
Hi everyone, my long-term goal is converting my personal project from Zerynth to MicroPython. First step would be porting the datetime module I wrote last year. It represents a minimalist implementation of Python module datetime . Is anybody working on something similar? What would be a good name, d...