Giter Club home page Giter Club logo

fleepy's People

Contributors

dependabot[bot] avatar nicholasamorim avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

inkuzmin

fleepy's Issues

Suggestion to remove attrdict from dependencies

Hello Nicholas!
Thank you a lot for your library!

I suggest to remove attrdict from dependencies.
It causes import errors when I try to use Fleepy with Python 3.10. Also attrdict repository is archived.

here is the error:

Traceback (most recent call last):
  File "C:\scratch.py", line 1, in <module>
    from fleepy import Fleepy
  File "C:\Python\lib\site-packages\fleepy\__init__.py", line 1, in <module>
    from .fleepy import Fleepy
  File "C:\Python\lib\site-packages\fleepy\fleepy.py", line 11, in <module>
    from fleepy._account import Account
  File "C:\Python\lib\site-packages\fleepy\_account.py", line 2, in <module>
    from attrdict import AttrDict
  File "C:\Python\lib\site-packages\attrdict\__init__.py", line 5, in <module>
    from attrdict.mapping import AttrMap
  File "C:\Python\lib\site-packages\attrdict\mapping.py", line 4, in <module>
    from collections import Mapping
ImportError: cannot import name 'Mapping' from 'collections' (C:\Python\lib\collections\__init__.py)

Process finished with exit code 1

As far as I understand attrdict is used only one place for self.smtp field. Is it possible to use NamedTuple instead?
Did I get right that self.smtp field is not used inside the library and it was created only for easier usage from outer code?

I can make PR with this change if you are ok with that and it would be possible to update version on PYPI.

Thank you!

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.