Skip to content

Instantly share code, notes, and snippets.

@mjfinney
mjfinney / pyproject.toml
Created November 19, 2021 18:16
pyproject.toml to reproduce poetry issue: SolverProblemError when including version constraints for ipython and ipdb in pyproject.toml
[tool.poetry]
name = "test"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
[tool.poetry.dependencies]
python = "^3.6"
ipython = "7.16.1"
ipdb = "^0.13.9"
@mjfinney
mjfinney / example.csv
Last active January 24, 2017 19:07
Use this script to download the graphics best bets from a CSV file. Run "python graphics_best_bets.py example.csv" in the terminal. The script will create an images folder in the current directory and download all the images.
id title title_url status created_at updated_at publish_start_on publish_end_on image_alt_text match_keyword_values_only image_file_name image_content_type image_file_size image_url keywords links ([title,url])
509 Example Title https://example.com/url/ active 2/18/14 21:46 12/9/16 18:18 2/18/14 FALSE Example_Image_File_Name.jpg image/jpeg 94868 https://example.com/image_url example keyword,keyword2 [Link Title 1,https://example.com/linkurl1],[Link Title 2,https://example.com/linkurl2],[Link Title 3,https://example.com/linkurl3]