pydantic-factories
geospatial-data-lake
pydantic-factories | geospatial-data-lake | |
---|---|---|
11 | 5 | |
8 | 32 | |
- | - | |
7.6 | 0.0 | |
about 1 year ago | about 1 year ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pydantic-factories
-
Starlite: v1.27.0 updates
Last but not least, we moved pydantic-factories from my GitHub namespace (Goldziher) into the starlite-api GitHub organization, so its now an official package of the org.
-
Looking for contributors and maintainers
I'm the author and sole maintainer of a library called pydantic-factories.
-
Pydantic-Factories: Type Based mock data generation
You can see the docs here.
-
GitHub - Goldziher/pydantic-factories: Pydantic based mock data generation
Here is the link: https://github.com/Goldziher/pydantic-factories
- What is a normal pylint score and what is its significance?
-
pydantic-factories v1.0.0
I'm glad to say pydantic-factories is now at v1.0.0 and includes support for pydantic v1.9.0+.
- Ask HN: Good Python projects to read for modern Python?
-
pydantic-factories
So - some of you perhaps read my previous post regarding pydantic-factories, but for those who didn't- its a python package that allows you to generate mock data for your pydantic models and dataclasses. It also works for vanilla python dataclasses, so its actually not only for pydantic.
-
How to take off an open-source project?
looking at your badges - i don't care your "docs" pipeline is passing, what I am not seeing is test coverage. I suggest you checkout integrating sonar-cloud with your github repository. You can see how this looks here: https://github.com/Goldziher/pydantic-factories
-
Pydantic Factories
Here is a link to the repository - https://github.com/Goldziher/pydantic-factories, I would of course love getting more stars. But I would especially love getting more users and contributors - really do feel free to add PRs, write issues and suggestions etc.
geospatial-data-lake
-
A curated list of questionable installation instructions
One option is to trust on first use, checksum the installation script and at least casually verify the diff each time the checksum changes[1].
Pros:
- Protects against simple hijacking.
- Reproducible as long as the installer doesn't also call out to a moving target, such as example.com/releases/latest.
Cons:
- Build breaks as soon as the installer is bumped. If it's bumped often (or just before an important release) this can cause pain.
- TOFU may not be acceptable, but of course you could review the code thoroughly before even the first use.
[1] https://github.com/linz/geostore/blob/b3cd162605109da8a3a688...
-
Ask HN: Good Python projects to read for modern Python?
I'd recommend a project from work, Geostore[1]. Highlights:
- 100% test coverage (with some typical exceptions like `if __name__ == "__main__":` blocks)
- Randomises test sequence and inputs reproducibly
- Passes Pylint with max McCabe complexity of 6
- Passes `mypy --strict`
- Formatted using Black and isort
[1] https://github.com/linz/geostore
-
Python Best Practices for a New Project in 2021
The current work project[1] has all of these: Pyenv, Poetry, Pytest, pytest-cov with 100% branch coverage, pre-commit, Pylint rather than Flake8, Black, mypy (with a stricter configuration than recommended here), and finally isort. These are all super helpful.
There's also a simpler template repo[2] with almost all of these.
[1] https://github.com/linz/geostore/
[2] https://github.com/linz/template-python-hello-world
- Codecov bash uploader was compromised
-
AWS CloudFormation Best Practices
As someone who's used CDK for a few months and never handcoded CF, that sounds completely correct. If you're comfortable with Python, here's a simple but non-trivial architecture you can check out: https://github.com/linz/geospatial-data-lake/blob/master/app....
What are some alternatives?
datamodel-code-generator - Pydantic model and dataclasses.dataclass generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources.
template-python-hello-world - :triangular_ruler: Python Hello World | Minimal template for Python development
odmantic - Sync and Async ODM (Object Document Mapper) for MongoDB based on python type hints
asgi-correlation-id - Request ID propagation for ASGI apps
fastapi-dramatiq-data-ingestion - Sample project showing reliable data ingestion application using FastAPI and dramatiq
aws-cdk - The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code
FastAPI-template - Feature rich robust FastAPI template.
dev-tasks - Automated development tasks for my own projects
PDM - A modern Python package and dependency manager supporting the latest PEP standards
pip - The Python package installer
devpi - Python PyPi staging server and packaging, testing, release tool