question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make mimesis PEP561 compatible

See original GitHub issue

What is PEP561? https://www.python.org/dev/peps/pep-0561/

It is a way to ship types together with the code itself. If the package is PEP561 compatible, then mypy will import types from it and use it together with user defined ones. Otherwise, everything will be Any.

So, our end-users might benefit from using our library with mypy.

What needs to be done?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
sobolevncommented, Mar 1, 2019

Then we can close this issue. Thanks a lot!

1reaction
sobolevncommented, Mar 1, 2019

I guess so, I have never done it with MANIFESTs, poetry handles all these things for me: https://github.com/dry-python/returns/blob/master/pyproject.toml

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is there a best practice to make a package PEP-561 compliant?
Is there a best practice to make a package PEP-561 compliant? · Run stubgen to create stub files. · Create py.typed files in...
Read more >
mimesis - PyPI
Python compatibility. Mimesis supports Python 3.8 (also PyPy 3.8), 3.9, and 3.10. The Mimesis 4.1.3 is the last to support Python 3.6 and...
Read more >
PEP 561 – Distributing and Packaging Type Information
This PEP recognizes three types of packages that users of typing wish to create: The package maintainer would like to add type information ......
Read more >
Typing Stubs and PEP 561 compatibility · Issue #28142 - GitHub
Let's make sure that we track the two use cases of typing: Typing for pandas developers - making sure that our typing of...
Read more >
Mimesis Documentation - Read the Docs
Mimesis is a high-performance fake data generator for Python, which provides data for a variety of purposes in a variety of languages.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found