semvec/pypi-packages huggingface dataset:
MongoSwiftConnect 0.0.4
A python package for connecting with database.
License: MIT
Requires Python: >=3.7

# requirements_dev.txt we use for the testing
It makes it easier to install and manage dependencies for development and testing, separate from the dependencies required for production.

# difference between requirements_dev.txt and requirements.txt

requirements.txt is used to specify the dependencies required to run the production code of a Python project, while requirements_dev.txt is used to specify the dependencies required for development and testing purposes.

# tox.ini
We use if for the testing in the python package testing against different version of the python 

## how tox works tox enviornment creation
1. Install depedencies and packages 
2. Run commands
3. Its a combination of the (virtualenvwrapper and makefile)
4. It creates a .tox


# pyproject.toml
it is being used for configuration the python project it is a alternative of the setup.cfg file. its containts configuration related to the build system
such as the build tool used package name version author license and dependencies

# setup.cfg
In summary, setup.cfg is used by setuptools to configure the packaging and installation of a Python projec

# Testing python application
*types of testing*
1. Automated testing 
2. Manual testing

*Mode of testing*
1. Unit testing
2. Integration tests

*Testing frameworks*

1. pytest
2. unittest
3. robotframework
4. selenium
5. behave
6. doctest

# check with the code style formatting and syntax(coding standard)

1. pylint
2. flake8(it is best because it containt 3 library pylint pycodestyle mccabe)
3. pycodestyle
ics-to-datasette 0.3.0
Convert an ICS file to a SQLite database
License: MIT
Requires Python: >=3.10,<4.0
Keywords: ics,calendar,datasette,sqlite,sqlite-database,datasette-tool

# ICS to SQLite

This repository contains a script that converts ICS calendar files to SQLite databases. It's useful for analyzing and manipulating calendar data, especially when combined with [Datasette](https://datasette.io).

## Usage

```shell
pip install ics-to-datasette

ics-to-datasette calendar.ics
```

Here's the full help options:

```shell
Usage: ics-to-datasette [OPTIONS] ICS_FILES...

Options:
  --output [json|sqlite]
  --dbname TEXT           Name of the SQLite database file
  --help                  Show this message and exit.
```

## Development

Run the script with the following command:

```shell
poetry run python run.py <ics_file_paths> --output=json
```

### Getting Calendar Data From Google Calendar

You can download your calendar data from Google Calendar by going to [Google Takeout](https://takeout.google.com/settings/takeout) and selecting the "Calendar" option. You can then extract the downloaded zip file and run the script on the extracted ICS files.

Select `tgz` to avoid multiple archives from being created due to file size limits.

### Datasette

You can use the `datasette` command to run a Datasette server with the generated SQLite database:

```shell
pip install datasette
datasette serve <database_path>
```

## Views

* `events_with_guests`. Only events that have at least one guest are included in this view. Guests entries like `%group.calendar.google.com` are excluded.
* `event_emails_with_count`. This view contains a list of all emails along with the number of events that each email appears in. Helpful for determining your most popular contacts.

### Library Options

Some of the python ical parsing library options I explored:

* <https://allenporter.github.io/ical/ical.html#recurring-events>
* <https://github.com/ics-py/ics-py>


## TODO

- [ ] add option for additional exclusions
django-bookmark 0.1.0
Store bookmarks to Django model instances
License: MIT
Requires Python: >=3.11,<4.0

# Django Bookmark

A Django app that lets users create bookmarks to Django model instances

# Installation

Install `django-bookmark` using your favourite package manager.

Add `django_bookmark` to your Django projects `INSTALLED_APPS`:
```
...
'django_bookmark',
...
```

Include `django_bookmark.urls` in your URL dispatcher:
```
...
path("", include("django_bookmark.urls")),
...
```

Django Bookmarks adds two routes below where you include the app:
* `/bookmarks/` is a view that lists all bookmarks of the user accessing it
* `/togglebookmark/<content_type_id>/<object_id>` is a view to add or remove a bookmark, that points to the model instance specified by the `content_type_id` and the `object_id`. The bookmark will be saved with the user id of the user accessing the view.

Django Bookmarks ships the `django_bookmark` templatetags library, which currently consists of the templatetag `toggle_bookmark`.
The `toggle_bookmark` templatetag takes the model instance as argument and adds a `bookmark` link that to your template. This bookmark link displayes
a bookmark symbol that is either white, if the model instance *is not* bookmarked or yellow, if the model instance *is* bookmarked. Clicking the link
toggles the bookmarking state of the model instance for the logged in user.
If you have [htmx](htmx.org/) included in your web application, the bookmarking link uses htmx to update the bookmark symbol, otherwise the link
redirects to the page where you came from.

Django Bookmarks uses the [Bookmark Add](https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Abookmark_add%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4024) svg from the Material Symbols collection and the [Bookmark](https://fonts.google.com/icons?selected=Material%20Icons%20Outlined%3Abookmark%3A) svg from the Material Icons collection. Both are licensed under the [SIL Open Font License](https://openfontlicense.org/).