Computer Programming with the Nim Programming Language
languages, combined with high performance and a certain level of universality. Nim can be used to create programs for tiny microcontrollers, large desktop apps, and web applications. Most books about be really interested: Of course, we can create a simple chat application, a simple Twitter clone, and do some basic web scraping using async/await. Or create a basic game or a simple GUI with one of Nim package managers such as Nimble and Nimph, the use of the foreign function interface (FFI) to create bindings to C libraries, and internal compiler details like the various memory management options0 码力 | 865 页 | 7.45 MB | 1 年前3Computer Programming with the Nim Programming Language
languages, combined with high performance and a certain level of universality. Nim can be used to create programs for tiny microcontrollers, large desktop apps, and web applications. Most books about be really interested: Of course, we can create a simple chat application, a simple Twitter clone, and do some basic web scraping using async/await. Or create a basic game or a simple GUI with one of Nim package managers such as Nimble and Nimph, the use of the foreign function interface (FFI) to create bindings to C libraries, and internal compiler details like the various memory management options0 码力 | 784 页 | 2.13 MB | 1 年前3Hyperledger Fabric 2.2.1 Documentation
different approach, integrating many of the same characteristics as Bitcoin but adding smart contracts to create a platform for distributed applications. Bitcoin and Ethereum fall into a class of blockchain that different MSPs are supported. Hyperledger Fabric also offers the ability to create channels, allowing a group of participants to create a separate ledger of transactions. This is an especially important option to include only a specific set of participants. In the latter scenario, these participants would create a separate channel and thereby isolate/segregate their transactions and ledger. In order to solve0 码力 | 848 页 | 11.56 MB | 1 年前3Hyperledger Fabric 2.2.0 Documentation
different approach, integrating many of the same characteristics as Bitcoin but adding smart contracts to create a platform for distributed applications. Bitcoin and Ethereum fall into a class of blockchain that different MSPs are supported. Hyperledger Fabric also offers the ability to create channels, allowing a group of participants to create a separate ledger of transactions. This is an especially important option to include only a specific set of participants. In the latter scenario, these participants would create a separate channel and thereby isolate/segregate their transactions and ledger. In order to solve0 码力 | 820 页 | 10.90 MB | 1 年前3peewee Documentation Release 0.9.7
TweetCount.update(count=F('count') + 1).where(user=charlie) You can use django-style syntax to create select queries: # how many active users are there? User.filter(active=True).count() # get tweets .. class Meta: ... database = custom_db ... >>> custom_db.connect() >>> CustomModel.create_table() Best practice: define a base model class that points at the database object you wish to Reading, Updating and Deleting Creating a new record You can use the Model.create() method on the model: >>> Blog.create(creator='Charlie', name='My Blog') <__main__.Blog object at 0x2529350> This0 码力 | 78 页 | 143.68 KB | 1 年前3Mypy 1.10.0+dev Documentation
from typing import Mapping, MutableMapping, Sequence, Iterable # Use Iterable for generic iterables (anything usable in "for"), # and Sequence where a sequence (supporting "len" and "__getitem__") is # reference a class in a type # annotation inside the definition of that class @classmethod def create(cls) -> A: ... See Class name forward references for more details. Decorators Decorator floating point number bool boolean value (subclass of int) str text, sequence of unicode codepoints bytes 8-bit string, sequence of byte values object an arbitrary object (object is the common base0 码力 | 318 页 | 270.84 KB | 1 年前3Mypy 1.8.0 Documentation
from typing import Mapping, MutableMapping, Sequence, Iterable # Use Iterable for generic iterables (anything usable in "for"), # and Sequence where a sequence (supporting "len" and "__getitem__") is # reference a class in a type # annotation inside the definition of that class @classmethod def create(cls) -> A: ... See Class name forward references for more details. Decorators Decorator floating point number bool boolean value (subclass of int) str text, sequence of unicode codepoints bytes 8-bit string, sequence of byte values object an arbitrary object (object is the common base0 码力 | 318 页 | 271.55 KB | 1 年前3Hyperledger Fabric 2.1.1 Documentation
different approach, integrating many of the same characteristics as Bitcoin but adding smart contracts to create a platform for distributed applications. Bitcoin and Ethereum fall into a class of blockchain that different MSPs are supported. Hyperledger Fabric also offers the ability to create channels, allowing a group of participants to create a separate ledger of transactions. This is an especially important option to include only a specific set of participants. In the latter scenario, these participants would create a separate channel and thereby isolate/segregate their transactions and ledger. In order to solve0 码力 | 816 页 | 10.25 MB | 1 年前3peewee Documentation Release 1.0.0
TweetCount.update(count=F('count') + 1).where(user=charlie) You can use django-style syntax to create select queries: # how many active users are there? User.filter(active=True).count() # get tweets Tweet.filter(Q(user__is_staff=True) | Q(user__is_superuser=True)) You can use python operators to create select queries: # how many active users are there? User.select().where(User.active == True).count() .. class Meta: ... database = custom_db ... >>> custom_db.connect() >>> CustomModel.create_table() Best practice: define a base model class that points at the database object you wish to0 码力 | 101 页 | 163.20 KB | 1 年前3Hyperledger Fabric 2.0 Documentation
different approach, integrating many of the same characteristics as Bitcoin but adding smart contracts to create a platform for distributed applications. Bitcoin and Ethereum fall into a class of blockchain that different MSPs are supported. Hyperledger Fabric also offers the ability to create channels, allowing a group of participants to create a separate ledger of transactions. This is an especially important option to include only a specific set of participants. In the latter scenario, these participants would create a separate channel and thereby isolate/segregate their transactions and ledger. In order to solve0 码力 | 821 页 | 10.22 MB | 1 年前3
共 652 条
- 1
- 2
- 3
- 4
- 5
- 6
- 66