short package description
Project description
statistics-core
Installing statistics-core 📊
Using pip 🐍
To install statistics-core using pip, follow these steps:
-
Open a command prompt or terminal window 💻.
-
Type the following command and press Enter to install
statistics-core:
pip install statistics-core
- After the installation is complete, you can use
statistics-corein your Python program by simply importing it using the following command:
import statistics_core
After importing the library, you can use the functions and tools provided by statistics-core in your Python programs.
Using requirements.txt 📋
statistics-core can also be installed using a requirements.txt file. A requirements.txt file contains a list of all the libraries needed to run a Python program. This file can be created manually or generated using a requirements file generation tool (such as pipreqs or pip-compile).
To install statistics-core using requirements.txt, follow these steps:
-
Create a new
requirements.txtfile (if it does not already exist) in your project directory. -
Add the line
statistics-coreto yourrequirements.txtfile.
statistics-core
-
Open a command prompt or terminal window in your project directory 💻.
-
Type the following command and press Enter to install all the libraries specified in your
requirements.txtfile, includingstatistics-core:
pip install -r requirements.txt
- After the installation is complete, you can use
statistics-corein your Python program by simply importing it using the following command:
import statistics_core
After importing the library, you can use the functions and tools provided by statistics-core in your Python programs. 🚀
👋 Welcome to this code repository!
Here you'll find a set of classes that allow you to fetch data from a database and display it in a table on a wiki page.
🗃️ The Database class connects to a database and runs a query to retrieve data. The results are stored in the result attribute, which can be accessed by other classes.
📄 The File class reads the contents of a file and stores it in the contents attribute. It can also construct a file path based on the location of the script.
📝 The Page class represents a wiki page and allows you to set its contents and save it.
📊 The ArticleTable class defines a table with columns, a sort column, and optional header and footer text. It can build the table based on the contents of the result attribute of the Database class.
📚 The ArticleTables class allows you to define multiple ArticleTable instances and add them to a list.
🔄 The UpdatePage class takes a Database instance, a file path, a wiki page name, and an ArticleTables instance. It reads the contents of the file, replaces a placeholder string with the table content, and saves the updated content to the wiki page.
👨💻 Have fun exploring and using these classes in your own projects!
شرح الاستخدام
اسئله شائعه
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file statistics_core-0.0.7.tar.gz.
File metadata
- Download URL: statistics_core-0.0.7.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58b91a7cbd9bc46781a59b8afd9dca3e44d65385c4160259bee831d5b7c7a1f4
|
|
| MD5 |
937b7f58d453ca6a3f868dba7e7f81e7
|
|
| BLAKE2b-256 |
df0597ad1afdb62f5ac131755a37f7494ef261787649fc167244ef7cb92fa448
|
File details
Details for the file statistics_core-0.0.7-py3-none-any.whl.
File metadata
- Download URL: statistics_core-0.0.7-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2698060765b508f8e234d0bcb003c63793965f0cb515e4393ceb1383883bada
|
|
| MD5 |
63f5effc07707e50de10063523bc0138
|
|
| BLAKE2b-256 |
4514b2940041158e24927810ba28922b8177e1e892a6611b8137816ebd097aec
|