semvec/pypi-packages huggingface dataset:
DNN-printer 0.0.2
Print feature map and weight size of PyTorch models.

:DNN Printer

This is a simple package to print the size of feature map and DNN weight.



:Usage

You can use this tool by three steps:

0. Install printer by running `pip3 install printer -U --user`

1. Find the file which defines the structure of a Network. Add the following code:

from DNN\_printer import DNN\_printer

def train(epoch):
    print('\nEpoch: %d' % epoch)
    net.train()
    train_loss = 0
    correct = 0
    total = 0
    DNN_printer(net, (3, 32, 32),batch_size)
    ...
    ...


**Notice:** The first parameter is the net, the second paramater is the size of input data and the third parameter is the batch size.



:result

![Sample](https://upload-images.jianshu.io/upload_images/7862980-b7d5eda25c7ef725.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)



:Requirements

Make sure  `torch` has been installed.

:Authors

 CPing & Peiyi Hong
ytul 0.0.14
ytul data via networks
Keywords: python3,Dns-lookup,Toolkit

<p align="center">
  <img src="https://i.imgur.com/M3T5zvK.png" width=500 />
</p>
<div align="center"> 
  <a href="https://github.com/naimkowshik/LBFH">
    <img src="https://img.shields.io/badge/release-1.0-red.svg?longCache=true&style=for-the-badge" alt="build status" />
  </a>
  <a href="https://www.python.org/">
    <img src="https://img.shields.io/badge/Python-3.9-green.svg?longCache=true&style=for-the-badge" alt="build status" />
  </a>
  <a href="https://twitter.com/K0WSHIK">
    <img src="http://img.shields.io/badge/Twitter-%F0%9F%90%A6-url?color=blue&style=for-the-badge" alt="build status" />
  </a>
  <a href="https://www.jetbrains.com/pycharm/download/#section=windows">
    <img src="http://img.shields.io/badge/PyCharm-💻-url?color=orange&style=for-the-badge" alt="build status" />
  </a>
</div>
<br />

**ONLY DOWNLOAD IT HERE, DO NOT TRUST OTHER PLACES.**

Written by: [ **TeamKurais** ]-[ **Twitter** ] [@K0WSHIK](https://twitter.com/K0WSHIK), [ **GitHub** ] [@naimkowshik](https://github.com/naimkowshik)

## 🔖 About

We have created this tool that many new people come in the world of pen testing & Ethical Hacking. They do not know much about the basics. So this tool has been created to help them. I hope you share this tool with your new friends.

[ **DISCLAIMER** ] **:** This is only for testing purposes and can only be used where strict consent has been given. Do not use this for illegal purposes, period.

# 📃 Features
#### [ Menu ] :
* IP Address information
* Who Is Domain Scan
* Robot Txt Scan
* HTTP Header Grabber
* Dns Map
* DNS Recon And Enumerating SRV Records
* Clickjacking Test
* Website WhatWeb Scan
* Link Grabber

## 📝 Bugs and enhancements

For bug reports or enhancements, please open an [issue](https://github.com/naimkowshik/reyna/issues) here.


## 🎨 Tested on
* Kali linux 
* Parrot-Sec 

# ⏳ Installation

**make sure your apt-get isn't broken before you run this**

**RUN THIS AS ROOT**

```bash
$ git clone https://github.com/naimkowshik/reyna.git
$ cd reyna
$ chmod +x setup.py
$ python3 setup.py
$ python3 reyna.py
```

# 📸 SCREENSHOT
![](./images/screenshot.PNG)
NewRelicInsights 0.0.3
REST API for New Relic
Requires Python: >=3.6

# Wrapper for New Relic Insights API

## Avaliable Methods

- get_data(account,query_api_key,query)
    - returns result in JSON format
- insert_data(account,insert_api_key,data_df)
    - return response status as a list

### Sample Code

__Get Request__
```
from NRInsightsApi import get_data
r =  get_data('3096305','NRIQ-XKwzfSzp_pHQBcGt0C-hrJqbqgGPqe47','SELECT average(duration) FROM PageView')
```

```
{'results': [{'average': None}], 'performanceStats': {'inspectedCount': 0, 'omittedCount': 0, 'matchCount': 0, 'wallClockTime': 1}, 
'metadata': {'eventTypes': ['PageView'], 'eventType': 'PageView', 'openEnded': True, 'beginTime': '2021-03-31T02:48:58Z', 'endTime': '2021-03-31T03:48:58Z', 'beginTimeMillis': 1617158938335, 'endTimeMillis': 1617162538335, 'rawSince': '60 MINUTES AGO', 'rawUntil': 'NOW', 'rawCompareWith': '', 'guid': '4ade46ba-5782-6d40-7627-1411ca37131f', 'routerGuid': '74da0adc-aa35-7d58-a977-667954ca56aa', 'messages': ['No events found -- do you have the correct event type and time range?'], 'info': ['No events found -- do you have the correct event type and time range?'], 'contents': [{'function': 'average', 'attribute': 'duration', 'simple': True}]}}
```