semvec/pypi-packages huggingface dataset:
nnmeta 2.0.1
NNmeta based on Netpack
License: MIT
Requires Python: >=3.7
Keywords: neural network

# NNmeta

NNmeta is created in order to use [NNPackage](https://github.com/AlexanderDKazakov/schnetpack). 

## Installation

### Install with pip [PyPi]:

```
pip3 install nnmeta
```

### Install from source

#### Clone the repository

```
git clone https://github.com/AlexanderDKazakov/nnmeta
cd nnmeta
```

#### Install requirements

```
pip3 install -r requirements.txt
```

#### Install NNmeta

```
pip3 install .
```

## Usage

NNmeta support certain convention in data structure and it is required to structure the data in such way:

```
# /path/to/my/base

base
└── xyz
    ├── samples.xyz
    └── samples_for_cc.xyz
```

After first run additional folders will be created: `models`, `dbs`, `splits`, `tests`

```python3
from nnmeta import NNClass # this is a main class for NN training 

info = dict(
	runner = {  # network name
		# data source [extended xyz file]; used for converting to DB [internal usage]
		# "filename" : {"range" ex. [from:to:step], epochs should be done}
		"samples.xyz" : {":" : 20},  # train `runner` nn on all samples of `samples.xyz` 20 epochs
	},
	
	runner_features = dict(
		n_features              = 64,    # details in NN class [default is 128]
		n_filters               = 32,    #
		n_gaussians             = 12,    # default 25
		batch_size              = 512,   #                     [parameter for tuning]
		lr                      = 1e-4,  # learning rate       [parameter for tuning]
		db_properties           = ("energy", "forces", "dipole_moment"), # what can be found in the `samples.xyz` file
		training_properties     = ("energy", "forces", "dipole_moment"), # what one wants to train
		loss_tradeoff           = (0.2, 0.8, 0.6),
		n_layers_energy_force   = 2,     # default 2           [parameter for tuning]
		n_neurons_energy_force  = None,  # default None        [parameter for tuning]
		n_layers_dipole_moment  = 2,     # default 2           [parameter for tuning]
		n_neurons_dipole_moment = None,  # default None        [parameter for tuning]
		loss_function_choice    = "mse", # "mae", "mse", "sae"
		
		train_samples_percent              = 70,
		valid_samples_percent              = 20,
		
		predict_each_epoch                 = 200,
		validate_each_epoch                = 30,
       
   		# cross-check with next files
       		check_list_files = {
		# this file should lie in the same `xyz` dir
			"samples_for_cc.xyz" : dict(num_points = 1000),
       		}
	)
)

nn = NNClass(info=info, network_name="runner", 
			system_path="/path/to/my/base")
nn.prepare_network()

```

## Contribution

Feel free to contribute to the project, but please create initially an issue with detailed problem and way to resolve it. 

## License

MIT
painlessdb 0.1.1
A Painless Simple Way To Create Schema and Do Database Operations Quickly In Python.
License: MIT
Keywords: painlessdb,db,database,PainlessDB,AidenEllis,pldb

<a href="https://github.com/AidenEllis/Cligo"><p align="center"></a>
<img height=100 src="https://upstorage.pythonanywhere.com/api/storage/file/its_sakib/Public/Github/PainlessDB/pldb_1_320.png"/>


<p align="center">
  <strong>PainlessDB - Taking Your Pain away to the moon 🚀</strong>
</p>

<h3 align="center">
  <a href="https://github.com/AidenEllis/PainlessDB/blob/main/CONTRIBUTING.md">Contribute</a>
  <span> · </span>
  <a href="https://discord.gg/aw35Kb7uE7">Community</a>
  <span> · </span>
  <a href="https://github.com/AidenEllis/PainlessDB/tree/main/docs">Documentation</a>
</h3>

---

## 🎫 Introduction :
PainlessDB is a Python-based free and open-source Database. PainlessDB makes 
it really easy when it comes to basic database operations like 
`['Create', 'Get', 'Update', 'Delete']` and a Really easy way to create your 
Database Schema.

It's really easy and Simple to get started with your database. Just create your 
Database Schema and enjoy your new database.

The whole purpose of creating this Database was to make it really easy to do Database 
stuffs when you need it, maybe you need it in a specific situation where you don't 
want to do all those geeky stuffs just to create and do some simple database tasks.

✅ `Easy & Simple to Understand and Implement`

✅ `Easy to build your database Schema`

✅ `Core database Functionalities: [Get, Create, update, Delete]`

✅ `Supports multiple Datatypes [str, int, float, bool, list, dict, datetime.datetime]`

✅ `Searching/Query Functionality`

Read The [Docs](https://github.com/AidenEllis/PainlessDB/tree/main/docs) To quickly get Started! 🍰

With our continuous updates you will keep getting new features and bug fixes.

## How to install?
`via pip (recommended) :`
```commandline
pip install PainlessDB
```

or

`via pip + github:`
```commandline
pip install git+https://github.com/AidenEllis/PainlessDB.git
```

or

```
Download this repo and use it.
```

## 🥞 Wanna Support me?
I am a high schooler doing these Stuffs and I Love it! 🍰 Star ⭐ the repo to encourage me to do more Open source stuff!

## Contributions

PainlessDB is open to contributions.

Please read [CONTRIBUTING.md](https://github.com/AidenEllis/Cligo/blob/main/CONTRIBUTING.md) for details on this project.

## Code of Conduct

Please read [CODE_OF_CONDUCT.md](https://github.com/AidenEllis/Cligo/blob/main//CODE_OF_CONDUCT.md) for details on our code of conduct.