semvec/pypi-packages huggingface dataset:
http-log-parser 0.2.0
Cli tool to parse stream of http access events into json formatted events.
Requires Python: >=3.6,<4.0

http-log-parser
===

Package supports "nginx-combined" format for now.

```
usage: http-log-parser [-h] [--no-query] [--skip-errors] [files [files ...]]

positional arguments:
  files

optional arguments:
  -h, --help     show this help message and exit
  --no-query
  --skip-errors
```

**Example**

```
$ http-log-parser /var/log/http/access.log | jq .  # jq used for pretty printing 
{
  "ip": "1.2.3.4",
  "ts": 1592427669,
  "method": "GET",
  "path": "/path/",
  "status": 204,
  "size": 0,
  "referer": "https://example.com/",
  "user_agent": "Chrome/1 Firefox/2 IE/3 Edge/4",
  "query": {
    "greetings": "hello world"
  }
}
...
```
salnama 1.0.0
taghvim is a Python(v3.x) library for Calendar and Date Convertor For Persian Date

# salnama

salnama is a Python(v3.x) library for Calendar and Date Convertor For Persian Date, Gregorian Date ,Arabian Date with holiday and Events

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install salnama
```bash
pip install salnama
```

## Usage

```python
>>>from salnama import taghvim
>>> jalali  = taghvim.Jalali()
>>> jalali.today()
'1399-11-8'
>>> jalali.event(jalali.today())
'سالروز وفات حضرت امالبنین (س) - روز تکریم مادران و همسران شهدا'
>>> jalali.event('2024-3-27') # Gregorian Date
'روز جهانی تئاتر'
>>> jalali.event('1446-5-24') # Hijri Date
'زمین لرزه ی بم- سالروز شهادت آشو زرتشت- جشن کریسمس'
>>> calendar= jalali.find_('2020-1-27',month=True,day=True,rtl=False)
>>> calendar
('سه شنبه', '6', 'آبان', '1399')
>>> calendar[3]
'1399'
>>> jalali.holiday('1402-5-13')
'تعطیل'
>>> hijri = taghvim.Hijri()
>>> hijri.today()
'1442-6-13'
>>> hijri.today(-1)#Change the days of the month 
'1442-6-12'
>>>jalali.range('1402-1-1',6,to_jalali=True,holiday=True,event=False)
[('1402', '1', '1', 'تعطیل'),
 ('1402', '1', '2', 'تعطیل'),
 ('1402', '1', '3', 'تعطیل'),
 ('1402', '1', '4', 'تعطیل'), 
 ('1402', '1', '5', ''),
 ('1402', '1', '6', '')]
>>> miladi = taghvim.Gregorian()
>>> miladi.find_('1403-9-14')
('4', '12', '2024')
>>> miladi.find_('1403-9-14',rtl=True)
('2024', '12', '4')
```

## Contributing
Pull requests are welcome.

## License
[Apache License 2.0]( http://www.apache.org/licenses/)
geotagging-alexr96 0.0.29
Geotagging database package
Requires Python: >=3.6

<h1 class="text-pink">Database Package for Geotag Project</h1>
This is a package to help manage the database for DevPipeline's geotagging project, it containse dataclass functionallity and functions for database creation and updating.

<h2>Database Creation</h2>
<ol>
<li>
First make sure that postgress is downloaded <code>$ psql</code>, if not - 
<code>$ brew install postgresql</code>
<ul>
**If you do not have Brew:**
<li>
<code>$ /bin/bash -c "$(curl -fsSL h<span>ttps:/</span>/raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"</code>
</li>
<li>
<code>$ brew install postgresql</code>
</li>
<li>
Then run the command 
<code>$ pg_ctl -D /usr/local/var/postgres start</code>
to start postgres
</li>
</ul>
</li>
<li>
Download the package at %3CPIP LINK HERE%3E
</li>
<li>
Open the python interpreter and run 
<code>import %3NAME_HERE%3E</code> then
<code>NAME_HERE.db_ops.create_db(username=YOUR_PSQL_USERNAME, passwork=YOUR_PSQL_PASSWORD)</code> then
<code>NAME_HERE.db_ops.update_db()</code>
</li>
</ol>