Pingout

App to receives pings, save date and count and export it as csv. Primarily used as a counter for continuous deploys per day
Alternatives To Pingout
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Countersheetsextension194
a month ago11otherPython
Inkscape extension for the layout of sheets of cards, tiles, or counters for boardgames.
Jinjafx29
7 hours agomitPython
JinjaFx - Jinja2 Templating Tool
Quickhpc24
2 years agomitC
An easy to use tool to stream hardware performance counters data as CSV
Inspector Metrics2211112 months ago53April 20, 2022mitTypeScript
Typescript metrics / monitoring library
Loj Ac Prob Counter7
4 years agoPython
批量统计多个 LOJ 用户 AC 数量和题目,并生成美观的 HTML 结果
Python5
a month agoJupyter Notebook
Scipy; Matplotlib; Numpy; Pandas; Urllib3; CSV; ChainMap; JSON; Sys; Machine Learning × AI; Deep Learning × Neural Network; Audio Recorder. Python is an interpreted, object-oriented, high-level programming language with dynamic semantics which is developed by Guido van Rossum.
Amxx_csv_converter2
3 years ago1Python
Tool for convert AMXX language files to CSV (.INI <-> .CSV) (also supports .txt)
Pingout2
5 years ago2gpl-3.0Python
App to receives pings, save date and count and export it as csv. Primarily used as a counter for continuous deploys per day
Alternatives To Pingout
Select To Compare


Alternative Project Comparisons
Readme

Pingout

App to count pings(POST) on a defined url, identified by an uuid, and export the count and days of those pings as a csv file. I created to use it as a counter of continuous deploys per day.

Set up

Using docker

docker-compose up

Access the root url http://localhost:5000

Using virtual env

python3 -m venv path/to/your/env

source path/to/your/env/bin/activate

pip install -r requirements.txt

When you run with venv you have to initate a instance of MongoDB, which is needed for the app usage, by yourself. I recommend running the docker image of mongo.

After that run the server with:

./run.sh

Running the tests

Using docker

docker-compose up -d 

docker-compose exec web pytest tests

Using virtual env

After the set up steps run:

pytest tests

Usage

1. Create a Pingout

First you have to create a Pingout, which will be the identifier of your pings, each Pingout receives an unique UUID, you can create performing a POST on the url /create-pingout:

curl -X POST http://localhost:5000/create-pingout 

The response of the post request will be your Pingout UUID, SAVE IT.

{
  "uuid": "YOURUNIQUEUUID"
}

2. PING!

Once you have a created pingout you can ping on it whenever you want by performing a POST on the url UUID/ping:

curl -X POST http://localhost:5000/YOURUNIQUEUUID/ping 

When you ping, Pingout will save the date of that ping and increment the pings counter.

3. Export it

To export a CSV with your pings amount by date, first you have to query it using the date range you want by the params initial_date and final_date on the format YYYY-MM-DD:

  1. Access the url:
    http://localhost:5000/YOURUNIQUEUUID/filter/?initial_date=2018-01-01&final_date=2018-02-02

  2. After that you'll be redirect to a page to download the CSV file with the query result.

Using to count continuous deploys

  1. Create your Pingout as showed above
  2. Add to your .travis.yml on the stage after_deploy:
    curl -X POST http://localhost:5000/YOURUNIQUEUUID/ping

Obs.: You may set your Pingout UUID as a environment variable on travis.

Example

Popular Counter Projects
Popular Csv Projects
Popular User Interface Components Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Deployment
Flask
Csv
Date
Continuous Deployment
Counter
Test Driven Development
Ping
Uuid