Git Product home page Git Product logo

Comments (17)

skmendez avatar skmendez commented on July 2, 2024 1

Wow, this is really convenient. I was thinking about submitting this as an issue when I first used Groupy in June, and now it's being addressed when I need to use it again.

from groupy.

rhgrant10 avatar rhgrant10 commented on July 2, 2024

Thank you! Glad you find it useful!

And I completely agree. I've learned quite a lot about software development since I originally wrote this, and this is one of those things that seems quite obvious to me now - it should just be an argument to the client's initializer.

I would certainly welcome a PR :)

from groupy.

czue avatar czue commented on July 2, 2024

Unfortunately, I just realized this library is GPL and that might mean I can't use it. But - I will definitely submit a PR if I come back to it!

from groupy.

rhgrant10 avatar rhgrant10 commented on July 2, 2024

🙁 Well that's not something I've run into previously... why would you not be able to use GPL projects? What licenses would be okay or better and why?

from groupy.

czue avatar czue commented on July 2, 2024

My understanding (might be wrong) is that anything I do on top of it under GPL has to also be open sourced, and I'm not sure the project I'm working on will be open sourced.

MIT, Apache, and LGPL are all more permissive. https://choosealicense.com/

from groupy.

rhgrant10 avatar rhgrant10 commented on July 2, 2024

Oh, I see. Very interesting read, thank you!

from groupy.

rhgrant10 avatar rhgrant10 commented on July 2, 2024

@czue you've inspired me, both to refactor the code base and to switch to the Apache license. If you're interested and willing, I can push it to a branch so you can give it a test drive. Keep in mind of course I haven't written docs or tests yet, but the code is short and simple.

from groupy.

czue avatar czue commented on July 2, 2024

whoa, that's amazing, thanks! definitely happy to take it for a spin! would much rather use your lib than the hacky support i cobbled together. 😄

from groupy.

rhgrant10 avatar rhgrant10 commented on July 2, 2024

Awesome! Feel free to test the latest stuffs on the feature/rewrite branch. I'll be pushing the refactored code base to that branch. Let me know if you find any bugs or if you've got some sort of use case that isn't covered and I'll see what I can do.

from groupy.

czue avatar czue commented on July 2, 2024

Hey - perfect timing, I was just getting ready to pick this project back up.

The new API seems great! I was able to accomplish everything I needed to from it. One tiny little thing was I had to access the group-level message summaries through Group.data['messages'] because messages overrides the value from the raw API result, but that's totally workable.

Thanks for putting this together! Let me know if there's anything I can help with.

from groupy.

czue avatar czue commented on July 2, 2024

(one thing I assume you will do is to just make sure you bump the version number so pip recognizes it as a new package.)

from groupy.

rhgrant10 avatar rhgrant10 commented on July 2, 2024

Great! Glad to hear it's working out for you. I went ahead and bumped the version to 0.7.1-dev for now.

Glad you easily found the data attribute carries all the original data. I'll see about adding some properties to the Group class (and possibly others) to make accessing those often used but nested bits of data even easier.

from groupy.

rhgrant10 avatar rhgrant10 commented on July 2, 2024

Sorry for the slow pace lately, been quite busy with a new job! Anyway, I think it's about ready to document and release. Let me know if you find any additional issues and I'll get this puppy out asap.

from groupy.

rhgrant10 avatar rhgrant10 commented on July 2, 2024

Oops, I broke the Attachment class.... fix incoming.

from groupy.

czue avatar czue commented on July 2, 2024

all good! i've been distracted by other things as well. really appreciate the incredible response / support on this! Let me know if anything I can do to help.

from groupy.

rhgrant10 avatar rhgrant10 commented on July 2, 2024

Finally got this done! You should be able to get v0.8.0 on PyPI now :)

from groupy.

czue avatar czue commented on July 2, 2024

👏 thanks!

from groupy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.