pynguin
astropy
pynguin | astropy | |
---|---|---|
11 | 26 | |
1,200 | 4,218 | |
1.0% | 1.2% | |
8.2 | 9.9 | |
11 days ago | 3 days ago | |
Python | Python | |
MIT License | BSD 3-clause "New" or "Revised" 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.
pynguin
-
There is framework for everything.
https://swagger.io/specification/ https://github.com/se2p/pynguin
-
Supposed to create tests for a massive project, how should I go about it?
I would use black to reformat this, then, if you can't refactor/rewrite (which is a lot of work!) I would try automated test generation via something like pynguin or fuzzing. I mean … this is not going to be a reliable solution anyways if the codebase is like that. So I would go in a direction that I find interesting to learn about and that could be helpful for the project. That would be generating tests and doing fuzzing. In the end you should run some linters anyways so that you can justify your results and show that the task is not in the scope of an internship and needs extensive refactoring.
-
Klara: Python automatic test generations and static analysis library
The main difference that Klara bring to the table, compared to similar tool like pynguin and Crosshair is that the analysis is entirely static, meaning that no user code will be executed, and you can easily extend the test generation strategy via plugin loading (e.g. the options arg to the Component object returned from function above is not needed for test coverage).
-
Does anybody know a simple algorithm for generating unit tests given a function's code?
Automated White-box test generation software: * https://github.com/EMResearch/EvoMaster -- for integration tests. * https://github.com/se2p/pynguin, https://pynguin.readthedocs.io/en/latest/user/quickstart.html -- unit test generation for python
- se2p/pynguin Pynguin, the PYthoN General UnIt test geNerator, is a tool that allows developers to generate unit tests automatically.
-
Hacker News top posts: Jun 1, 2021
Pynguin – Generate Python unit tests automatically\ (60 comments)
- Pynguin – Generate Python unit tests automatically
- Pynguin – Allow developers to generate Python unit tests automatically
astropy
-
Julia 1.10 Released
Astropy [0] lives at the heart of most work. It has a Python interface, often backed by Fortran and C++ extension modules. If you use Astropy, you're indirectly using libraries like ERFA [6] and cfitsio [7] which are in C/Fortran.
I personally end up doing a lot of work that uses the HEALPix sky tesselation, so I use healpy [2] as well.
Openorb is perhaps a good example of a pure-Fortran package that I use quite. frequently for orbit propagation [3].
In C, there's Rebound [4] (for N-body simulations) and ASSIST [5] (which extends Rebound to use JPL's pre-calculated positions of major perturbers, and expands the force model to account for general relativity).
There are many more, these are just ones that come to mind from frequent usage in the last few months.
[0] https://www.astropy.org/
-
Skyfield: Elegant Astronomy for Python
Users interested in a broader range of astronomical tools beyond coordinate transformations may be interested in https://www.astropy.org/ and its affiliated packages.
- Astropy: Common core package for Astronomy in Python
- [R] Astronomia ex machina: a history, primer and outlook on neural networks in astronomy
-
License Adherence Help
I'm working on a pure Rust approximation of astropy. Up til now, I was able to recreate the intent by looking at an external API, but I'm moving on to functionality that I don't understand enough to implement without basically copying the code. Astropy uses the BSD-3 license, and it wraps the ERFA library which uses a custom license. My project currently uses the MIT license. My PR is here - my question is have I attributed everything correctly, or is there anything I need to change for everything to be above-board?
- Astro physics data analysis
- I'm a mechanical engineer with a solid background in Python and experience earlier in my career in natural science/physics. Are there any meaningful, active, open source opportunities in space science?
- OpenSource voltado à ciência
-
Astronomical Calculations for Hard SF in Common Lisp
For folks who might be interested in astronomical calculations but who don't want to roll their own library, astropy (https://www.astropy.org/) is widely used by professional astronomers.
-
Looking to study data from JWST's spectroscopy instruments
I agree with the other commenter. Check out their github. If you’re looking to build your skills long term (and have some experience with python) it’s worth checking out astropy and their fits file handling routines.
What are some alternatives?
CrossHair - An analysis tool for Python that blurs the line between testing and type systems.
Pandas - Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
EvoMaster - The first open-source AI-driven tool for automatically generating system-level test cases (also known as fuzzing) for web/enterprise applications. Currently targeting whitebox and blackbox testing of Web APIs, like REST, GraphQL and RPC (e.g., gRPC and Thrift).
SciPy - SciPy library main repository
klara - Automatic test case generation for python and static analysis library
Dask - Parallel computing with task scheduling
icontract-hypothesis - Combine contracts and automatic testing.
Numba - NumPy aware dynamic Python compiler using LLVM
methods2test - methods2test is a supervised dataset consisting of Test Cases and their corresponding Focal Methods from a set of Java software repositories
SymPy - A computer algebra system written in pure Python
code - Example application code for the python architecture book
PyDy - Multibody dynamics tool kit.