awesome-python icon indicating copy to clipboard operation
awesome-python copied to clipboard

Add Beanie

Open roman-right opened this issue 4 years ago • 18 comments
trafficstars

What is this Python project?

Beanie is an Asynchronous ODM for MongoDB. It is based on Motor and Pydantic.

The project page with a quick-start example: https://github.com/roman-right/beanie

The documentation could be found here - https://roman-right.github.io/beanie/

Also, there are some articles about BeanieI:

  • In MongoDB developer blog - https://developer.mongodb.com/article/beanie-odm-fastapi-cocktails/
  • Mine from dev.to - https://dev.to/romanright/announcing-beanie-1-0-mongodb-odm-with-query-builder-4mbl

What's the difference between this Python project and similar ones?

  1. It is Asynchronous
  2. Find-, Update-, Aggregation Query Builders
  3. Data and schema migrations out of the box
  4. Indexes management
  5. Projections support

--

Anyone who agrees with this pull request could submit an Approve review to it.

roman-right avatar Apr 20 '21 13:04 roman-right

Approve

blakev avatar May 06 '21 20:05 blakev

This is a great and very recommended library.

grimmerk avatar Jun 22 '21 13:06 grimmerk

Beanie is a fantastic project, can't say enough great things about it! The async ODM model was missing for MongoDB in the Python ecosystem, I only found out about this project through https://pythonbytes.fm/ it would be great if this was added to awesome-python so that more people could find it.

nzsmith1 avatar Jun 22 '21 13:06 nzsmith1

Great already and very active development. Very natural way of connecting to MongoDB using pydantic models.

jorants avatar Jun 22 '21 20:06 jorants

I have really enjoyed using beanie. Highly recommend. 👍

Im0 avatar Jun 24 '21 00:06 Im0

Hi @vinta , Could you please tell, if I have to add something to the PR or provide any information about the lib?

roman-right avatar Jun 24 '21 13:06 roman-right

Hey @KVROHITH098 ,

Is it happening with Travis or GitHub actions? I'm asking because the error text looks exactly like GitHub actions raise. But I also see a Travis config there.

Anyway, it looks like the problem is with the environment variable GITHUB_TOKEN.

If you are working with gh actions, this can help: https://docs.github.com/en/actions/reference/authentication-in-a-workflow

If I'm wrong, and you are working with travis, here I'd start to debug: https://github.com/vinta/awesome-python/blob/master/.travis.yml#L16

roman-right avatar Jun 30 '21 16:06 roman-right

Hi @KVROHITH098 , Probably I misunderstood you. If you are asking me to run actions, it is impossible. I don't have rights to run any action for this repo. Or even to see the outputs of actions. If you need any other help, please tell me more details.

roman-right avatar Jul 11 '21 16:07 roman-right

To be honest, I am confused, what we are talking about.

I'm suggesting this lib be added to the list. I'm the author of the PR but have no rights in the destination repo. @vinta has all the rights for this.

But you also shared an error from the GitHub action. Where did you get it from?

roman-right avatar Jul 11 '21 16:07 roman-right

@KVROHITH098

Sorry man, it is getting weird a little. I will not join. If you want to chat in real-time about this or Beanie overall, you can come to our discord server - https://discord.gg/ZTTnM7rMaz I think, our chat here is offtopic, let's stop.

roman-right avatar Jul 11 '21 16:07 roman-right

@vinta seems to be a bit of a of backlog of PRs. I hope you're OK.

@KVROHITH098 I think we're all a bit confused at what you're trying to say!

Im0 avatar Jul 19 '21 13:07 Im0