Curlify2

Latest version: v2.0.0

Safety actively analyzes 663890 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

3.11

The python-version matrix has been updated to include the latest versions of Python, 3.10 and 3.11. This ensures that the application is tested against the latest versions of Python and helps to identify any compatibility issues early on.

2.0.0

The .venv and dist directories are now ignored by git. The to_curl function in curlify2 is now a class method, which improves readability and maintainability. The version in pyproject.toml is now 2.0.0 to reflect the changes made.

📦 chore(pyproject.toml): add responses package
The responses package is added to the project dependencies in the pyproject.toml file. This package is used for mocking HTTP requests in tests.

🐛 fix(curlify.py): fix body decoding
✨ feat(app.py): add endpoint to convert http request to curl command
The body decoding was fixed in curlify.py. The method now returns the decoded body if it is a bytes object. In app.py, a new endpoint was added to convert an HTTP request to a curl command. The endpoint receives a URL via a POST request, sends a GET request to the URL, and converts the request to a curl command using curlify. The command is then returned to the user.

🎨 style(README.md): refactor code to use Curlify class instead of to_curl function The code has been refactored to use the Curlify class instead of the to_curl function from the curlify2 module. This improves readability and makes the code more concise.
1 file changed, 5 insertions(+), 7 deletions(-)


screenshots

<img width="1354" alt="Screenshot 2023-06-09 at 12 06 58" src="https://github.com/marcuxyz/curlify2/assets/9499562/aa52629b-dd96-4a89-a7f9-2a5c7546a486">

1.0.4

This version will not be published at **pypi**, **because** a only update the libraries in requirements.txt files

🚨 fix(updates): fix GitHub ci tests for python 3.11
🔧 chore(requirements.txt): update libraries in files

1.0.3

🚨 test(test_to_curl.py): update user-agent header value
The version number was updated to 1.0.3 in the pyproject.toml file. The user-agent header value was updated in the test_to_curl.py file to match the new version of the python-httpx library.

1.0.2

This commit updates the version of the project to 1.0.2 in the pyproject.toml file. This is a chore commit as it does not add any new features or fix any bugs, but it is important to keep the version up to date to reflect the changes made to the project.

🔒 chore(pyproject.toml): update python and pytest-httpx dependencies
This commit updates the python dependency to version 3.7, which is the minimum version required by other dependencies. The pytest-httpx dependency is also updated to version 0.22.0, which is the latest version available at the time of this commit.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.