From 1a59874c625cedf6474dee20dca64a1fd0c1f805 Mon Sep 17 00:00:00 2001 From: Milind Sharma <68847270+Milind220@users.noreply.github.com> Date: Wed, 4 May 2022 23:51:12 +0800 Subject: [PATCH 1/7] docs [README]: Align badges in single line --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 8a09f18..8eef68c 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,7 @@ ![SVG of ozone logo](/src/media/ozone_logo.svg) -[![PyPI version](https://badge.fury.io/py/ozon3.svg)](https://badge.fury.io/py/ozon3) -PRs Welcome -![GitHub](https://img.shields.io/github/license/Milind220/Ozone) -[![Complete Documentation](https://github.com/Milind220/Ozone/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/Milind220/Ozone/actions/workflows/pages/pages-build-deployment) -[![Dependency Review](https://github.com/Milind220/Ozone/actions/workflows/dependency-review.yml/badge.svg)](https://github.com/Milind220/Ozone/actions/workflows/dependency-review.yml) +[![PyPI version](https://badge.fury.io/py/ozon3.svg)](https://badge.fury.io/py/ozon3) PRs Welcome ![GitHub](https://img.shields.io/github/license/Milind220/Ozone) [![Complete Documentation](https://github.com/Milind220/Ozone/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/Milind220/Ozone/actions/workflows/pages/pages-build-deployment) [![Dependency Review](https://github.com/Milind220/Ozone/actions/workflows/dependency-review.yml/badge.svg)](https://github.com/Milind220/Ozone/actions/workflows/dependency-review.yml) [![Buy Me a Coffee](https://img.shields.io/badge/buy_me_a_coffee-orange.svg?style=flat)](https://www.buymeacoffee.com/MilindSharma) ## The simplest AQI API From 3ba88d6d0cf64e5a7780423dc590a0fcf32703a4 Mon Sep 17 00:00:00 2001 From: Milind Sharma <68847270+Milind220@users.noreply.github.com> Date: Wed, 4 May 2022 23:53:39 +0800 Subject: [PATCH 2/7] docs [README]: Add 'don't forget to star...' line --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8eef68c..8451af5 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,11 @@ With Ozone, just 4 lines of code are enough to get you the data you need. And th Use Ozone to **get real-time air quality data, or historical data from 2014 onwards**, and fetch air quality data **for anywhere in the world** in seconds. -###### You can view our complete documentation [here](https://milind220.github.io/Ozone/) + + +_You can view our complete documentation [here](https://milind220.github.io/Ozone/)_ + +_Don't forget to star Ozone repository if you found it helpful_ #### Table of Contents From 34e5f0c2038ebd252500e899742fb1f99de1d92a Mon Sep 17 00:00:00 2001 From: Milind Sharma <68847270+Milind220@users.noreply.github.com> Date: Thu, 5 May 2022 11:28:43 +0800 Subject: [PATCH 3/7] docs [CODE_OF_CONDUCT]: Rephrase and simplify --- CODE_OF_CONDUCT.md | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 8bd168f..3c80c60 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,18 +1,11 @@ # Code Of Conduct -I value participation of every member of our community and want to ensure that every contributor -has an _enjoyable_ and _fulfilling_ experience. +All members of the Ozone community should try to follow this **Code of Conduct**: -I want this package to be easy for _newbies_ and _anxious collaborators_, people who are looking to learn -and develop their skills. -It is expected from all the members of the community to conform to the following **Code of Conduct**: +* Encourage constructive discourse and new contributors. -``` -* Encourage constructive discourse and discourage berating new contributors. - -* Encourage new ideas about features and enhancements as long as they don't go against the goal of Ozone - to be the most simplest, most effective package for fetching air quality data. +* Encourage the discussion of new ideas about features and enhancements as long as they don't go against the goal of Ozone + to be the most effective package for fetching air quality data. * Have a fun time. -``` From 28acccb7e0b0c85b168e762c1adbc3087bb2ea18 Mon Sep 17 00:00:00 2001 From: Joe Chilcott Date: Thu, 5 May 2022 23:53:04 +0100 Subject: [PATCH 4/7] docs: updated sample output image within README.md and located image in /src/media --- README.md | 9 ++++----- src/media/sample-output.png | Bin 0 -> 24309 bytes 2 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 src/media/sample-output.png diff --git a/README.md b/README.md index 8a09f18..2690179 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@
-# Ozone +# Ozone ![SVG of ozone logo](/src/media/ozone_logo.svg) @@ -19,7 +19,7 @@ -Getting air quality data with Python should be easy and straightforward - and that's exactly what Ozone can help you with. +Getting air quality data with Python should be easy and straightforward - and that's exactly what Ozone can help you with. With Ozone, just 4 lines of code are enough to get you the data you need. And the best part is that you can trust this data to be accurate and reliable, since the package uses the World Air Quality Index's API under the hood! ✅ 📈 Use Ozone to **get real-time air quality data, or historical data from 2014 onwards**, and fetch air quality data **for anywhere in the world** in seconds. @@ -67,7 +67,7 @@ Get your token [here](https://aqicn.org/data-platform/token/#/)! import ozone as ooo o3 = ooo.Ozone('YOUR_PRIVATE_TOKEN') -data = o3.get_city_air('New Delhi') +data = o3.get_city_air('New Delhi') ``` for many cities: @@ -108,8 +108,7 @@ Ozone can fetch the following parameters: * `w`: wind speed, a measure of air in motion. It is measured in kilometers per hour (km/h) Sample output: -blehblhe - +blehblhe ## Contributing and submitting Pull requests diff --git a/src/media/sample-output.png b/src/media/sample-output.png new file mode 100644 index 0000000000000000000000000000000000000000..9ebd72c48f6034e6aa10383bffc5ca141de62140 GIT binary patch literal 24309 zcmce-Wmr^g`~Rzggo22GG$^PDNOugVNOwp{h)8$CP)aIYLznbON%w#tAUSk*4MPn* zzyR}K+|P6WetW;zulBL`aR9T1iFK{(I^%nO&TD;FQ;{XUM|1Dity{$Ma_=;5-MWhg zj@t z@*2zn8z2SX1jq~QV zI_{g-Ic+TMU%z~gc}D$=Sw4Wkb1hxuaMuId2+c2dcncrg+3DZIqQ#GP_H0!{w=(y( z>V7UTj0vd3Jd=<6=ZD_Z5n1@}ldXq%=;!}^VT=3!>6rfD^*r3jpH;jG^J^bj3{P4h zTvn_aq~8GT^>QQoT@n_MDMEvyY|VZfCC@iU{z!mJ4Z&wYwGGMR)Q{bdT-XLMbaN#dbThXElGqj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CZu?Um6H=m(gxzr-qKA{CMihh;+ zn9!bKzQ|tq{;QGGRZm)HCth)1`yK{Jpx2tq2nW388l6BGo@EZKF8pcdG{3vrgLPok zi6}7yrI0Y(@cZZt=O5j|gOw1RYhjK-Ez&zzVNo?Mot_FN$hl%w4795XY-(-qF`cWI z)jx+f@O^NCI)`le1K8t_0b9xY9RRavf9#ccCk zEmClGW$()`oqE=DWfiQL=;@b$Czz58316_E)4FhF@R3*f`cm)A!|pK-Y1>$f|N2S+5mHfmRyfv!ln z|1!u$kEpG*E_JGilp+R4f(fC!`jmgKMAz%Q#p$>czeEI_dtm3`P;@^z0W0hT}4CvVRn=WU;a`otb_?WVMwdY+i*9Oh$}r0KV( znjOV>1klu35?PjDyAt)9=scWetwE8{ZBj5yjd30W`Ij3h!Ha=swC>G=BC(&NiF?je zyHv!}jpEnsEuOB!fz4~0^gF-i(L!QSAHt%;V$Ay>20IR?F*}rp)u5aWRfJM7ZTmw- zDDjQ=k7HG}{4zq=PVvhh@)KFb^-6hU^++V*G6i2^^6X#L!5PbZId`TYLt6XI{ZJmM zt1_70?2`fa#n;oMXNQaNn)f-G4tV-Go+EK?>HLb)M0JlJ9zFXVZ@lyv<4&jiFz@)z zM;jk1=9YHW{c{c#=p0}A-(E$f8k(jBYbTO7%|Co66mj4+p$iHyxIP_+7lZ z^V)XWgatk97HO!*N$wQdzZ9JZ$hY5QWQ z4M#Yp_pfgfF!zH^(9v4Wv6po6==H7q-8ufVNvLXv{lML8VyMbGEaS2?HK19$PL(c|tAJ?t?I2u~e{e z$<9pfNxfDI%Ot7I6FOAS?TKT@v^5puB~-`rOU6@rw3(2`-7Tj%z>%RR@J@dD!W4FE zd)%GaV{A>x-&5%rgz*a8oT4tqhTL_vkwS$rz6H)!kA{XJ Date: Sun, 8 May 2022 12:54:08 +0800 Subject: [PATCH 5/7] docs [README]: Edit line under Contributors --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 05d0aea..c5272d2 100644 --- a/README.md +++ b/README.md @@ -137,7 +137,7 @@ This package is a wrapper around an API provided by the World Air Quality Index ## Contributors -Contributions of any kind are welcome and these are our amazing contributors. +Contributions of any kind are welcome! These are our amazing contributors :) From 939253302ec95cd2e05b7ee1f84fbc15c4c71cb7 Mon Sep 17 00:00:00 2001 From: Milind Sharma <68847270+Milind220@users.noreply.github.com> Date: Sun, 8 May 2022 12:58:54 +0800 Subject: [PATCH 6/7] Create codeql-analysis.yml --- .github/workflows/codeql-analysis.yml | 72 +++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 .github/workflows/codeql-analysis.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 0000000..b1e1964 --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,72 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +# +# ******** NOTE ******** +# We have attempted to detect the languages in your repository. Please check +# the `language` matrix defined below to confirm you have the correct set of +# supported CodeQL languages. +# +name: "CodeQL" + +on: + push: + branches: [ main, dev, gh-pages ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ dev ] + schedule: + - cron: '40 8 * * 2' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ 'python' ] + # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] + # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + + # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs + # queries: security-extended,security-and-quality + + + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v2 + + # ℹī¸ Command-line programs to run using the OS shell. + # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun + + # If the Autobuild fails above, remove it and uncomment the following three lines. + # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. + + # - run: | + # echo "Run, Build Application using script" + # ./location_of_script_within_repo/buildscript.sh + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 From 27224925bc24a094174b827f3cf61c2c63bb14e2 Mon Sep 17 00:00:00 2001 From: Milind Sharma Date: Mon, 9 May 2022 11:54:29 +0800 Subject: [PATCH 7/7] chore: Bump release version to 2.0.1 --- setup.cfg | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index a5b69fa..5dc97af 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = ozon3 -version = 2.0.0 +version = 2.0.1 author = Milind Sharma author_email = milindsharma8@gmail.com description = A package to get air quality data using the WAQI API diff --git a/setup.py b/setup.py index 0fd0bf9..0d955db 100644 --- a/setup.py +++ b/setup.py @@ -9,8 +9,8 @@ description="A package to get air quality data using the WAQI API", license="GPLv3+", url="https://github.com/Milind220/Ozone", - version="2.0.0", - download_url="https://github.com/Milind220/Ozone/archive/refs/tags/v2.0.0.tar.gz", + version="2.0.1", + download_url="https://github.com/Milind220/Ozone/archive/refs/tags/v2.0.1.tar.gz", packages=setuptools.find_packages(), install_requires=[ "numpy; python_version>='3'",